GitXplorerGitXplorer
c

vpn-authenticator

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
434a9373bec0b2f773e30a14024a1d2d6bbef620

Fixed promise error.

committed 7 years ago
Unverified
fa89aaed3f10c0e694b53421bed743f243d74571

1.0.2

committed 7 years ago
Unverified
45999a153bbc2ad34c9498d9fcc8c9bc57b69ba3

Returning promise from write.

committed 7 years ago
Unverified
42ea14b5bb73af615d5e6b199b6ab048a460eea8

1.0.1

committed 7 years ago
Unverified
03b68a9b7285a56d9df4d9839a3ee96a1d997c3b

Updated documentation.

committed 7 years ago
Unverified
03729a212f599b28cb6b1cf582edcf85f09e0dc2

First commit

committed 7 years ago

README

The README file for this repository.

vpn-authenticador

Automatically connect to your VPN using OTP, without the hassle.

General Install

npm install -g vpn-authenticator

OSX Install

brew install openvpn

Then try opening a new shell and check if openvpn is accesible: openvpn --version

If it's not you need to create a symlink for it, for example: ln -s /usr/local/Cellar/openvpn/2.4.1/sbin/openvpn /usr/local/sbin/openvpn

NOTE: The version for openvpn might be different for you.

Linux Install

If you're on a Debian distro try: sudo apt-get install openvpn

NOTE: Old versions of openvpn doesn't work with vpn-authenticator.

Pre-Setup

Download your openvpn credentials file, a .ovpn file.

Some providers will expose a web login where you can get this file.

Once you have this file you'll have everything you need to do the one time setup of vpn-authenticator.

You will also need your account secret to complete setup.

If you already configured Authy as Chrome extension to get your OTP, you can easily find your secret following this instructions:

  • Open Authy and input your password.
  • Open chrome://extensions.
  • Find Authy in the extensions list.
  • Click on main.html.
  • Use the following code snippet on the console:
appManager.model.map((app) => console.log(`${app.getName()} => ${app.decryptedSeed}`))

One Time Setup

Start vpn-authenticator with sudo, sudo is needed for openvpn to run. sudo vpn-authenticator

The app will guide you through the rest of the setup process. It will ask you the save the downloaded .ovpn file on your

Run

After the setup process you won't be asked for anything else anymore. Just run the app and enjoy!

sudo vpn-authenticator

NOTE: The uso of sudo is required for openvpn client to work.