Subversion Repositories sysadmin_scripts

Rev

Rev 23 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

This is a simple script to manage vpn connections on a Debian type
machine.

vpn connections are stored in /etc/openvpn, one subdirectory per
connection. The connection configuration should be named the 
same as the directory with a .ovpn suffix.

running the vpn command by itself simply lists all active vpn connections.
If done as root, will also clean up any "danglies" left over.

You can define a different log, status and pid dir, but the defaults
work just fine for most system. They are:
/var/log/openvpn
/var/run/openvpn
/var/run/openvpn

You can run openvpn with --help to get a list of all available subcommands