Socket
Socket
Sign inDemoInstall

totp-openvpn

Package Overview
Dependencies
53
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    totp-openvpn

Enable auto-login for OpenVPN via password and config-file.


Version published
Maintainers
1
Install size
727 kB
Created

Readme

Source

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.

FAQs

Last updated on 07 Dec 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc