Reference:
https://forums.openvpn.net/topic8229.html
Hi All, using the mentioned steps as above, myself still unable to bring up the openvpn server with multiple instances.
Would you please point me to any possible hints ?
$ ps -aux | grep openvpn
root 15033 0.0 0.0 22672 3548 ? Ss 21:35 0:00 /usr/sbin/openvpn --writepid /run/openvpn/server2.pid --daemon ovpn-server2 --status /run/openvpn/server2.status 10 --cd /etc/openvpn --config /etc/openvpn/server2.conf --script-security 2
jghosh 15072 0.0 0.0 15944 2188 pts/27 S+ 21:35 0:00 grep --color=auto openvpn
jghosh@jghosh /etc/openvpn [Wed Apr 08 21:35:41]
$ ls -alrt
total 40
-rwxr-xr-x 1 jghosh jghosh 1357 Dec 2 04:15 update-resolv-conf
-rw-r--r-- 1 jghosh jghosh 659 Apr 8 20:58 server.conf
-rw-r--r-- 1 jghosh jghosh 659 Apr 8 20:58 server2.conf
drwxr-xr-x 214 root root 12288 Apr 8 21:28 ..
drwxr-xr-x 3 jghosh jghosh 4096 Apr 8 21:35 .
drwxr-xr-x 2 jghosh jghosh 4096 Apr 9 2015 keys
jghosh@jghosh /etc/openvpn [Wed Apr 08 21:36:00]
$
$ cat server.conf
mode server
tls-server
port 1194
dev tun
proto udp
server 10.xx.0.0 255.255.0.0
keepalive 10 120
comp-lzo no
persist-key
persist-tun
verb 3
duplicate-cn
push "route 10.0.0.0 255.0.0.0"
push "route 192.168.0.0 255.255.0.0"
push "route 172.yy.0.0 255.240.0.0"
push "dhcp-option DNS 172.aa.bb.2"
push "dhcp-option DNS 10.cc.dd.190"
push "explicit-exit-notify 1"
management localhost 7055
cipher AES-256-CBC
auth SHA256
dh /etc/openvpn/keys/dh.pem
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key