roly-poly-vpn

command module
v0.0.0-...-801e8f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

README

Roly-Poly VPN

Why?

It is a daemon designed to ease 2FA VPN usage with one time passwords at GNU/Linux systems.

How it works

At first start it takes your permanent password, TOTP secret and Network Manager config name and places them into your keyring. Then you can start it as a daemon and it will bring up that VPN connection using password and TOTP generated passcode. Also it will deactivate VPN connection at termination.

Systemd

Prepared to be run as a per-user service but one may also try to run it system-wide, so there is a ./systemd/net-up-adm.pkla file to deal with audit settings.

Installation

  • Import your OpenVPN configuration to NetworkManager configuration.
  • Download from binary from release page.
  • Set execution bit for binary: chmod +x ./roly-poly-vpn
  • Move somewhere to your PATH. At Ubuntu I prefer ~/.local/bin/ directory: mv ./roly-poly-vpn ~/.local/bin/
  • Run it and answer questions about NetworkManager VPN config name, your LDAP password and OTP secret. If you make a mistake and want to change the value just run roly-poly-vpn with flag setting this secret and it will be overwritten at your keyring. Or as alternative seahorse utility, which is a GUI keyring manager, could be used.
  • In case you like to run roly-poly-vpn as a per-user systemd service, do like this:
cp ./systemd/roly-poly-vpn.service ~/.config/systemd/user/
systemctl --user enable roly-poly-vpn.service
systemctl --user start roly-poly-vpn.service

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL