A terminal UI for managing OpenVPN connections, written in Go.
- Lists OpenVPN configs from
/etc/openvpn/client,/etc/openvpn, and~/.config/lazyovpn/connections. - Connect / disconnect —
openvpnruns as root viapkexec; the TUI itself stays unprivileged. - Live per-connection log streaming with a connection-state badge (connecting / connected / disconnected / error).
- The connected entry is marked in the sidebar.
- Prompts for credentials on
auth-user-passconfigs — the password is masked and never written to plaintext storage. Optionally save it to the OS keyring (Secret Service / libsecret) so later connects skip the prompt. - Import a config through the native file chooser (
zenity/kdialog); it's copied into~/.config/lazyovpn/connections. - Per-connection action menu (
x) to rename, delete, or forget saved credentials. - Scrollable log pane: focus it with
tab(or the mouse wheel) and page back through history. - Application log written per run under
~/.local/state/lazyovpn/logs; open the newest withlazyovpn log.
- Linux with
openvpnandpkexec(polkit) onPATH. zenityorkdialog— only needed to import a config from the file chooser.
Download the latest release binary, verify its checksum, and install it:
curl -fsSL https://raw.githubusercontent.com/omartelo/lazyovpn/main/install.sh | shgo install github.com/omartelo/lazyovpn@latestDownload a prebuilt binary from the releases page, extract it, and put lazyovpn on your PATH:
tar -xzf lazyovpn_*_linux_amd64.tar.gz
sudo install lazyovpn /usr/local/bin/Call lazyovpn in your terminal to launch:
lazyovpnIt discovers your OpenVPN configs on startup and opens the connection list. Pick one and press enter to connect, or press a to import a new .ovpn/.conf. No configs yet? It still launches — just add one with a.
| Key | Action |
|---|---|
↑/↓, j/k |
navigate (sidebar) / scroll (log pane) |
enter |
connect |
a |
add a connection |
d |
disconnect |
x |
open the action menu (rename, delete, forget saved credentials) |
tab |
focus the log pane to scroll (tab/esc to go back) |
pgup/pgdn |
page the log (while focused) |
q |
quit |
When prompted for credentials, ctrl+s toggles saving them to the OS keyring.
| Command | Description |
|---|---|
lazyovpn |
launch the TUI |
lazyovpn log |
open the newest application log in $EDITOR (falls back to vi) |
lazyovpn doctor |
check that the external programs lazyovpn needs are installed |
