I am trying to start a 2nd openvpn service on my server so that clients can connect via udp instead of tcp.
However when I run:
openvpn /etc/openvpn/openvpn2.conf
I get no response at all.
Usually I would expect the startup parameters or at least an error but I get nothing. I have to CTrl+c to get back to the prompt.
ANy ideas what I can try?
I changed the serve config so it has tun1 instead of tun and also changed the log files to openvpn-status2.log so it doesn't overwrite the other server.
I also changed the network so there wouldn't be any IP conflicts. Openvpn1 runs on 172.16.x.x
Code:
port 1194
proto udp
dev tun1
crl-verify /etc/openvpn/crl.pem
client-config-dir /etc/openvpn/ccd
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
push "redirect-gateway"
push "dhcp-option DNS 213.171.192.249"
push "dhcp-option DNS 213.171.192.245"
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
user nobody
group users
tun-mtu 1460
persist-key
persist-tun
status openvpn-status2.log
verb 3
log /var/log/openvpn2.log