totp-openvpn

2.3.2 • Public • Published

totp-openvpn

Do you have OpenVPN 'two-factor authentication' enabled? This package will allow you to create a OpenVPN credentials file which is kept up-to-date with your latest Two-Factor code.

In your OpenVPN config add: auth-user-pass password.txt

Now you never have to enter your two-factor-password again.

install

npm i -g totp-openvpn

run

totp-openvpn --code=SECRETTOTPCODE --file="C:\Program Files\OpenVPN\config\password.txt" --username=john

Options

Options:
  --help      Show help                                                [boolean]
  --version   Show version number                                      [boolean]
  --code                                                              [required]
  --file                                                              [required]
  --username                                                          [required]

How to use in real life

Run this as a service in linux or windows. Needs to run as a user that is allowed to modify the supplied file.

Readme

Keywords

none

Package Sidebar

Install

npm i totp-openvpn

Weekly Downloads

3

Version

2.3.2

License

none

Unpacked Size

17.9 kB

Total Files

12

Last publish

Collaborators

  • jeffreyvannorden