https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162014-04-10T14:36:37ZpfSense bugtrackerpfSense - Bug #3596: OpenVPN being passed bad argumentshttps://redmine.pfsense.org/issues/3596?journal_id=137552014-04-10T14:36:37ZChris Buechlercbuechler@gmail.com
<ul></ul><p>What arguments does it have after those parameters in the conf file?</p> pfSense - Bug #3596: OpenVPN being passed bad argumentshttps://redmine.pfsense.org/issues/3596?journal_id=137622014-04-11T07:57:39ZAnonymous
<ul></ul><p>I pulled this from /var/etc/openvpn/server1.conf:</p>
<pre>
tls-verify /usr/local/sbin/ovpn_auth_verify tls 'gateway.domain.com' 1 via-env
</pre>
<p>If I place everything after 'tls-verify' in double quotes and try to start the service, I get as far as this:</p>
<pre>
Apr 11 05:04:39 openvpn[23401]: OpenVPN 2.3.2 amd64-portbld-freebsd10.0 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Mar 19 2014
Apr 11 05:04:39 openvpn[23401]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 11 05:04:40 openvpn[23401]: TUN/TAP device /dev/tun1 opened
Apr 11 05:04:40 openvpn[23401]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
Apr 11 05:04:40 openvpn[23401]: /sbin/ifconfig ovpns1 10.0.8.1 10.0.8.2 mtu 1500 netmask 255.255.255.255 up
Apr 11 05:04:40 openvpn[23401]: FreeBSD ifconfig failed: external program exited with error status: 1
Apr 11 05:04:40 openvpn[23401]: Exiting due to fatal error
</pre>
<p>ifconfig's issue is that the interface 'ovpns1' doesn't exist. Weird.</p>
<p>I guess this is an entirely different problem. Has there been a major change to OpenVPN with the migration to 10?</p> pfSense - Bug #3596: OpenVPN being passed bad argumentshttps://redmine.pfsense.org/issues/3596?journal_id=137852014-04-15T12:00:13ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>Confirmed fixed on current code (snap+gitsync), no error and the process is running. Interface is there also.</p> pfSense - Bug #3596: OpenVPN being passed bad argumentshttps://redmine.pfsense.org/issues/3596?journal_id=137902014-04-15T13:17:26ZAnonymous
<ul></ul><p>Confirmed working here also.</p>