https://github.com/dave/govpn
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dave/govpn
- Owner: dave
- Created: 2015-02-04T11:59:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-01T10:06:13.000Z (over 8 years ago)
- Last Synced: 2025-03-25T06:23:43.216Z (over 1 year ago)
- Language: Go
- Size: 1.01 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Google Authenticator VPN Starter
--------------------------------
If you have a Google Authenticator protected VPN, this will help you start it by just hitting enter. Also, your credentials are encrypted with [Secretbox](https://godoc.org/golang.org/x/crypto/nacl/secretbox).
So long as you don't back up the config file online, we still preserve the essence of 2 factor auth: you need something you know (your encryption password) and something physical you have (your laptop).
You need [Go](http://golang.org/doc/install) installed. To install govpn use the "go get" command:
```
go get -u github.com/dave/govpn
```
This will install the govpn command in your path. Then start it:
```
govpn
```
The first time it runs, it will prompt you for:
- An encryption password - make sure this is strong!
- The name of the VPN (you should set up a Mac native VPN, with a blank password).
- Your VPN password.
- Your Google Authenticator secret. You will probably need to request a new one from your security admin.
This data will be encrypted and stored in ```~/.govpn-config.json```.
Simply press enter to connect or re-connect to te VPN.