GitHub - neiesc/openvpn-manager: OpenVPN Manager a command-line tool to manage OpenVPN 2.x and OpenVPN 3.x (start/stop VPN and more commands).

1 min read Original article ↗

Installation

Usage

openvpn3

  • openvpn-manager start 3 file.ovpn
  • openvpn-manager stop 3 file.ovpn
  • openvpn-manager status 3 file.ovpn

openvpn (version 2)

  • openvpn-manager start 2 file.ovpn # only start/status in this version
  • openvpn-manager status 2

TODO

  • Background process for openvpn (for version 2)
    • Implement stop command for version 2
  • Publish
    • Publish Crate to Crates.io
    • Publish in AUR (Arch)
  • Implement command myip to show actual ip public
  • Implement command status to show actual status (connect to vpn or not)
  • Implement command ping to show ping (this is a wrapper command to ping google.com), maybe
  • Implement command restart to execute stop and start.

Contribution

Everyone is welcome.

Development

Commands

  • sudo cargo run -- start 2 file.ovpn # only start in this version