hello openvpn community, I have a setup with a OpenVPN Server on a Ubuntu 20.04 system, with multiple server configuration files (say X.conf and Y.conf), that only differ in the server certificate/key and passphrase (only one of the server configs is started at a time).
When starting (sudo systemctl restart openvpn@X) config X.conf it works ("Initialization Sequence Completed", I can connect a client). With another config Y.conf, I get (restart, then sudo systemctl status openvpn@Y): Apr 23 11:08:13 sidact-lap11 systemd[1]: Starting OpenVPN connection to Y... Apr 23 11:08:44 sidact-lap11 systemd[1]: openvpn@Y.service: start operation timed out. Terminating. The config file looks like this in both cases (except substituting for X): port 1194 proto udp dev tun comp-lzo #management 127.0.0.1 1194 keepalive 10 120 persist-key persist-tun ifconfig-pool-persist ipp.txt status openvpn-status.log verb 4 server 172.16.0.0 255.255.255.0 #push "route 192.168.189.0 255.255.255.0" #push "dhcp-option DNS 192.168.0.5" #push "dhcp-option DOMAIN example.com" ca /etc/openvpn/server/ca.crt cert /etc/openvpn/server/X.crt key /etc/openvpn/server/X.key dh /etc/openvpn/server/dh.pem askpass I am relatively sure that the typed passphrase (for Y.key) is correct, or does the error message above clearly indicate that this is not the case? Permissions for the key file were 640, but since openvpn complained, I changed this to 600 (root:root). I tried increasing the verb or specifying "log /tmp/foo.log" in the .conf, but I don't see more logging on the terminal or in /tmp/foo.log (which still does not exist). Many Thanks and Best Regards, -- Felix Natter _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users