1 # An xinetd configuration file for OpenVPN.
3 # This file should be renamed to openvpn or something suitably
4 # descriptive and copied to the /etc/xinetd.d directory.
5 # xinetd can then be made aware of this file by restarting
6 # it or sending it a SIGHUP signal.
8 # For each potential incoming client, create a separate version
9 # of this configuration file on a unique port number. Also note
10 # that the key file and ifconfig endpoints should be unique for
11 # each client. This configuration assumes that the OpenVPN
12 # executable and key live in /root/openvpn. Change this to fit
23 server = /root/openvpn/openvpn
24 server_args = --inetd --dev tun --ifconfig 10.4.0.2 10.4.0.1 --secret /root/openvpn/key --inactive 600 --user nobody