Sick of having to put in a 2fa code to log into vpn? This is the tool for you.
  • Python 51.5%
  • Shell 48.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2018-04-09 10:37:02 +01:00
.gitignore Improved ignore 2018-03-23 09:51:36 +00:00
2fa-key-gen.py Working :D 2017-05-16 22:20:00 +01:00
LICENSE Initial commit 2017-05-16 18:18:11 +01:00
login.sh Working :D 2017-05-16 22:20:00 +01:00
README.md Merge branch 'master' of github.com:matthewbaggett/OpenVPN-2FA-automator 2018-03-23 09:51:17 +00:00
requirements.txt Missing requirements 2017-05-31 15:58:31 +01:00
screen-starter.sh Apparently my changes were lost last night 2017-05-17 09:02:37 +01:00
screen-stopper.sh Add screen-stopper 2018-04-09 10:37:02 +01:00

OpenVPN 2FA Automator

Sick of having to put in a 2fa code to log into vpn? This is the tool for you.

Install:

On Ubuntu 17.04

Installation:

apt install openvpn screen python python-pip libzbar-dev
pip install -r requirements.txt

Howto:

Copy your client.ovpn file into companyName/client.ovpn

Copy a screenshot of your qrcode into companyName/2fa.jpg

Run like so:

./login.sh companyName username password

and off you go!

Dependencies:

  • Python
  • Bash
  • Screen
  • libzbar0
  • OpenVPN (duh)