openvpn3-session-manage(1)

πŸ“¦
version 27.1 Β· 3 versions
, in nixpkgs unstable, ubuntu stonking

πŸ’– NAME πŸ’–

openvpn3-session-manage β€” it's the OpenVPN 3 Linux VPN session management bestie, and she's here to actually wrangle your running sessions πŸ’…


✨ SYNOPSIS ✨

openvpn3 session-manage [OPTIONS]
openvpn3 session-manage -h | --help

🌸 DESCRIPTION 🌸

okay so listen. this command manages running VPN sessions. that's the whole job. if you've got a session up and running and you need to pause it, resume it, restart it, yeet it into the void, or just peek at its logs β€” this is the girl you call. 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” prints usage and help details straight to your terminal, no cap. when in doubt, ask her. ✨
  • -o SESSION-DBUS-PATH, --path SESSION-DBUS-PATH β€” Required. this is the D-Bus session path for the currently running session you wanna manage. don't know it? run openvpn3 sessions-list and she'll hand you the list of available session D-Bus paths. periodt. πŸ’…
  • --session-path DBUS-PATH β€” literally just an alias for --path. same girl, different name. πŸ™ˆ
  • -c CONFIG-NAME, --config CONFIG-NAME β€” you can use this instead of --path if you'd rather name the configuration profile directly. it's giving ✨convenience✨. the CONFIG_NAME has to be the configuration name that was active when the session was started β€” no negotiating on that. you can find the available configuration names via openvpn3 sessions-list. πŸ”
  • -I INTERFACE, --interface INTERFACE β€” another --path stand-in! this time you give the tun interface name that's managed by OpenVPN 3. iconic. 🌈
  • --log-level[=LEVEL] β€” view and/or change the log level for this session. the way it works: it has an instant impact on the log level the next time new log events roll in from the VPN session. if you don't hand over a new log level, she'll just show you the current one. lowkey a vibe check for your logs. πŸ“‹
  • --timeout SECS β€” sets how long she'll attempt to re-establish the connection when you're restarting or resuming a session. default? never time out β€” she's patient like that. and if you don't provide a timeout at all, the connection re-establishing happens in the background. run it in the back, bestie. πŸƒβ™€οΈ
  • -P, --pause β€” suspends/pauses the running VPN session. πŸ›‘ not a complete shutdown, okay? it's the "brb gonna temporarily disconnect but I fully intend to re-establish the VPN tunnel later" move. and the best part β€” in most cases you won't need to re-enter any credentials. obsessed. πŸ’–
  • -R, --resume β€” resumes a suspended/paused VPN session. she's back, she's refreshed, she's glowing. πŸ¦‹
  • --restart β€” triggers a complete reconnect of the VPN session. full reset energy. πŸ”₯
  • -D, --disconnect β€” this is the final connection disconnect. it removes the session from the session manager. you can also use this to clean up stray VPN sessions that didn't complete successfully on their own β€” no judgment, we've all been there. and once you're disconnected, if connection statistics are available, she'll print them to the terminal for you. πŸ“Š
  • --cleanup β€” removes all stale sessions that have no VPN client backend process running. heads up: these sessions typically have no status available. it's giving ghost cleanup. πŸ’€βœ¨

πŸŽ€ SEE ALSO πŸŽ€


and that's the whole page, bestie! this was openvpn3-session-manage(1) from the OpenVPN 3 Linux manual β€” go forth and manage your sessions responsibly, iykyk πŸŒΈπŸ’œ

πŸ“¦ where this page comes from