OpenVPN service doesn't start
-
I'm not entirely sure, but I upgraded from CE to + over the weekend, and it seems that the OpenVPN service won't start since that upgrade. It may be unrelated, but it was working before that.
In the system log, I have the below entry after I attempt to start the OpenVPN service. Any ideas what might be going on?
Sep 26 12:46:31 php-fpm 377 /status_services.php: The command '/usr/local/sbin/openvpn --config '/var/etc/openvpn/server1/config.ovpn'' returned exit code '1', the output was 'Options error: Unrecognized option or missing or extra parameter(s) in /var/etc/openvpn/server1/config.ovpn:2: disable-dco (2.5.4) Use --help for more information.'
-
@randyway said in OpenVPN service doesn't start:
/var/etc/openvpn/server1/config.ovpn:2: disable-dco
To me it seems like openVPN doesn't like the parameter on line two, in the config file : /var/etc/openvpn/server1/config.ovpn
/var/etc/openvpn/server1/config.ovpn:2: disable-dco
Edit:
cat /var/etc/openvpn/server1/config.ovpn dev ovpns1 disable-dco
I'm on 22.05 , and have that in my config too , i have no isues starting my "server"
My openVPN version on 22.05 is:
openvpn --version OpenVPN 2.6_git amd64-portbld-freebsd12.3 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] [DCO] built on Jun 4 2022
Wonder if this is your version ?
/var/etc/openvpn/server1/config.ovpn:2: disable-dco (2.5.4)What version of pfSense+ are you running ?
Did the update complete wo issues ?/Bingo
-
I am on 22.05. It seems the upgrade didn't complete correctly. I found this post and tried the solution of running pfSense-upgrade -d. That showed 1 package to be installed and 40 to be upgraded. After completing the upgrades and rebooting, the OpenVPN service started and I am able to connect again.