OpenVPN stops everytime I connect
-
I have an OpenVPN server on pfSense with 1 WAN and 1 LAN port, no VLAN.
What happens now is that everytime I connect to it and check out my service I notice the OpenVPN service has stopped due to an error and not being able to connect to the daemon. Weird thing is that the Windows desktop client does not drop the connection due to the server being unreachable. But on the other hand I can't access the pfSense admininterface either when connected. Logs:
Oct 21 23:11:45 openvpn[52655]: OpenVPN 2.3.3 amd64-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Aug 15 2014
Oct 21 23:11:45 openvpn[52655]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
Oct 21 23:11:45 openvpn[52655]: Initializing OpenSSL support for engine 'cryptodev'
Oct 21 23:11:45 openvpn[52655]: Control Channel Authentication: using '/var/etc/openvpn/server1.tls-auth' as a OpenVPN static key file
Oct 21 23:11:45 openvpn[52655]: TUN/TAP device ovpns1 exists previously, keep at program end
Oct 21 23:11:45 openvpn[52655]: TUN/TAP device /dev/tun1 opened
Oct 21 23:11:45 openvpn[52655]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
Oct 21 23:11:45 openvpn[52655]: /sbin/ifconfig ovpns1 192.168.10.1 192.168.10.2 mtu 1500 netmask 255.255.255.255 up
Oct 21 23:11:45 openvpn[52655]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1558 192.168.10.1 192.168.10.2 init
Oct 21 23:11:45 openvpn[53586]: UDPv4 link local (bound): [AF_INET]...238:
Oct 21 23:11:45 openvpn[53586]: UDPv4 link remote: [undef]
Oct 21 23:11:45 openvpn[53586]: Initialization Sequence Completed
Oct 21 23:12:08 openvpn: user 'testgebruiker' authenticated
Oct 21 23:12:08 openvpn[53586]: 192.168.0.10:58017 [testgebruiker] Peer Connection Initiated with [AF_INET]192.168.0.10:58017
Oct 21 23:12:08 openvpn[53586]: testgebruiker/192.168.0.10:58017 MULTI_sva: pool returned IPv4=192.168.10.6, IPv6=(Not enabled)
Oct 21 23:12:10 openvpn[53586]: testgebruiker/192.168.0.10:58017 send_push_reply(): safe_cap=940
Oct 21 23:17:59 openvpn[82360]: OpenVPN 2.3.3 amd64-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Aug 15 2014
Oct 21 23:17:59 openvpn[82360]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
Oct 21 23:17:59 openvpn[82360]: Initializing OpenSSL support for engine 'cryptodev'
Oct 21 23:17:59 openvpn[82360]: Control Channel Authentication: using '/var/etc/openvpn/server1.tls-auth' as a OpenVPN static key file
Oct 21 23:17:59 openvpn[82360]: TUN/TAP device ovpns1 exists previously, keep at program end
Oct 21 23:17:59 openvpn[82360]: TUN/TAP device /dev/tun1 opened
Oct 21 23:17:59 openvpn[82360]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
Oct 21 23:17:59 openvpn[82360]: /sbin/ifconfig ovpns1 192.168.10.1 192.168.10.2 mtu 1500 netmask 255.255.255.255 up
Oct 21 23:17:59 openvpn[82360]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1558 192.168.10.1 192.168.10.2 init
Oct 21 23:17:59 openvpn[83925]: UDPv4 link local (bound): [AF_INET]...238:
Oct 21 23:17:59 openvpn[83925]: UDPv4 link remote: [undef]
Oct 21 23:17:59 openvpn[83925]: Initialization Sequence Completed
Oct 21 23:18:32 openvpn[83925]: event_wait : Interrupted system call (code=4)
Oct 21 23:18:32 openvpn[83925]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1558 192.168.10.1 192.168.10.2 init
Oct 21 23:18:32 openvpn[83925]: SIGTERM[hard,] received, process exiting
Oct 21 23:18:32 openvpn[24966]: OpenVPN 2.3.3 amd64-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Aug 15 2014
Oct 21 23:18:32 openvpn[24966]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
Oct 21 23:18:32 openvpn[24966]: Initializing OpenSSL support for engine 'cryptodev'
Oct 21 23:18:32 openvpn[24966]: Control Channel Authentication: using '/var/etc/openvpn/server1.tls-auth' as a OpenVPN static key file
Oct 21 23:18:32 openvpn[24966]: TUN/TAP device ovpns1 exists previously, keep at program end
Oct 21 23:18:32 openvpn[24966]: TUN/TAP device /dev/tun1 opened
Oct 21 23:18:32 openvpn[24966]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
Oct 21 23:18:32 openvpn[24966]: /sbin/ifconfig ovpns1 192.168.10.1 192.168.10.2 mtu 1500 netmask 255.255.255.255 up
Oct 21 23:18:32 openvpn[24966]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1558 192.168.10.1 192.168.10.2 init
Oct 21 23:18:32 openvpn[26291]: UDPv4 link local (bound): [AF_INET]...238:
Oct 21 23:18:32 openvpn[26291]: UDPv4 link remote: [undef]
Oct 21 23:18:32 openvpn[26291]: Initialization Sequence Completed
Oct 21 23:19:35 openvpn: user 'testgebruiker' authenticated
Oct 21 23:19:36 openvpn[26291]: 188.207.64.2:28617 [testgebruiker] Peer Connection Initiated with [AF_INET]188.207.64.2:28617
Oct 21 23:19:36 openvpn[26291]: testgebruiker/188.207.64.2:28617 MULTI_sva: pool returned IPv4=192.168.10.6, IPv6=(Not enabled)
Oct 21 23:19:38 openvpn[26291]: testgebruiker/188.207.64.2:28617 send_push_reply(): safe_cap=940Does anyone have an idea what is going on?
-
I have found the problem! When I use hmac OpenVPN stops/crashes. When I do not use it everything runs smooth. Also tried using hmac without hardware encryption but didn't work also. I'm a bit disappointed that OpenVPN crashes when using hmac :( Does anyone have an idea on how to solve this?