Subversion Repositories sysadmin_scripts

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 rodolico 1
This is a simple script to manage vpn connections on a Debian type
2
machine.
3
 
4
vpn connections are stored in /etc/openvpn, one subdirectory per
5
connection. The connection configuration should be named the 
6
same as the directory with a .ovpn suffix.
7
 
8
running the vpn command by itself simply lists all active vpn connections.
9
If done as root, will also clean up any "danglies" left over.
10
 
11
You can define a different log, status and pid dir, but the defaults
12
work just fine for most system. They are:
13
/var/log/openvpn
14
/var/run/openvpn
15
/var/run/openvpn
16
 
17
You can run openvpn with --help to get a list of all available subcommands