OpenVpn in pfsense 2.0 beta 5 crashes every 2nd day



  • I have Management Daemon Unreachable every second day. I have server using shared key and client setup and both have the same error. Rebooting helps but restarting OpenVpn service NO.

    Please advice. I understand beta is not stable yes but I have read people have open vpn stable - is that true?

    Thank You



  • The config is copied from 1.2.3 stable and there OpenVpn was running all the time without any issues. So the config is OK.



  • Just upgraded from 02-17 to 02-23 version and will see if this happens again. I have seen someone has the same issue.


  • Rebel Alliance Developer Netgate

    I've never had any issues with it and I use OpenVPN extensively…



  • I believe ….. I used to use 1.2.3 for OpenVpn connections without any hiccups. After moving to pfsense 2.0 Beta 5 open vpn crashes from time to time.

    I know that my config is ok because it has already been used in 1.2.3 and worked. Any way it is not complicated - just shared key between two sites and server for road warriors ..... nothing fancy ..... I am pretty sure it is 2.0 fault or rather OpenVpn issue. (doubt it is config)  Yesterday I upgraded to 02/23 version and see what is going happen…..

    I can wait for more stable 2.0 version and meantime use 1.2.3 ;however, 2.0 has more functions .....  If crash occures again I will try to send some logs.

    Thank You,

    MST


  • Rebel Alliance Developer Netgate

    Logs would help. I have never heard anyone report a similar issue with OpenVPN - some people had issues making a connection (which should now be resolved) but I'm not aware of anyone who has had it suddenly stop working for no apparent reason.



  • I am sorry -  http://forum.pfsense.org/index.php?topic=29150.0  –- looks like the identical example ......


  • Rebel Alliance Developer Netgate

    That is a very old thread, and it looked like they had WAN connectivity issues, not really an OpenVPN problem.



  • It is already 3rd day and OpenVpn still works after the upgrade. I think it was reloaded today :

    Feb 26 08:05:04 openvpn[36253]: LZO compression initialized
    Feb 26 08:05:04 openvpn[36253]: Preserving previous TUN/TAP instance: ovpnc1
    Feb 26 08:05:04 openvpn[36253]: UDPv4 link local (bound): [AF_INET]EXTERNAL IP
    Feb 26 08:05:04 openvpn[36253]: UDPv4 link remote: [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:06:04 openvpn[36253]: Inactivity timeout (–ping-restart), restarting
    Feb 26 08:06:04 openvpn[36253]: SIGUSR1[soft,ping-restart] received, process restarting
    Feb 26 08:06:06 openvpn[36253]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Feb 26 08:06:06 openvpn[36253]: Re-using pre-shared static key
    Feb 26 08:06:06 openvpn[36253]: LZO compression initialized
    Feb 26 08:06:06 openvpn[36253]: Preserving previous TUN/TAP instance: ovpnc1
    Feb 26 08:06:06 openvpn[36253]: UDPv4 link local (bound): [AF_INET]EXTERNAL IP
    Feb 26 08:06:06 openvpn[36253]: UDPv4 link remote: [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:06:37 openvpn[36253]: Peer Connection Initiated with [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:06:38 openvpn[36253]: Initialization Sequence Completed
    Feb 26 08:13:06 openvpn[36253]: Inactivity timeout (–ping-restart), restarting
    Feb 26 08:13:06 openvpn[36253]: SIGUSR1[soft,ping-restart] received, process restarting
    Feb 26 08:13:08 openvpn[36253]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Feb 26 08:13:08 openvpn[36253]: Re-using pre-shared static key
    Feb 26 08:13:08 openvpn[36253]: LZO compression initialized
    Feb 26 08:13:08 openvpn[36253]: Preserving previous TUN/TAP instance: ovpnc1
    Feb 26 08:13:08 openvpn[36253]: UDPv4 link local (bound): [AF_INET]EXTERNAL IP
    Feb 26 08:13:08 openvpn[36253]: UDPv4 link remote: [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:14:08 openvpn[36253]: Inactivity timeout (–ping-restart), restarting
    Feb 26 08:14:08 openvpn[36253]: SIGUSR1[soft,ping-restart] received, process restarting
    Feb 26 08:14:10 openvpn[36253]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Feb 26 08:14:10 openvpn[36253]: Re-using pre-shared static key
    Feb 26 08:14:10 openvpn[36253]: LZO compression initialized
    Feb 26 08:14:10 openvpn[36253]: Preserving previous TUN/TAP instance: ovpnc1
    Feb 26 08:14:10 openvpn[36253]: UDPv4 link local (bound): [AF_INET]EXTERNAL IP
    Feb 26 08:14:10 openvpn[36253]: UDPv4 link remote: [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:15:10 openvpn[36253]: Inactivity timeout (–ping-restart), restarting
    Feb 26 08:15:10 openvpn[36253]: SIGUSR1[soft,ping-restart] received, process restarting
    Feb 26 08:15:12 openvpn[36253]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Feb 26 08:15:12 openvpn[36253]: Re-using pre-shared static key
    Feb 26 08:15:12 openvpn[36253]: LZO compression initialized
    Feb 26 08:15:12 openvpn[36253]: Preserving previous TUN/TAP instance: ovpnc1
    Feb 26 08:15:12 openvpn[36253]: UDPv4 link local (bound): [AF_INET]EXTERNAL IP
    Feb 26 08:15:12 openvpn[36253]: UDPv4 link remote: [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:15:44 openvpn[36253]: Peer Connection Initiated with [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:15:45 openvpn[36253]: Initialization Sequence Completed
    Feb 26 08:16:45 openvpn[36253]: Inactivity timeout (–ping-restart), restarting
    Feb 26 08:16:45 openvpn[36253]: SIGUSR1[soft,ping-restart] received, process restarting
    Feb 26 08:16:47 openvpn[36253]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Feb 26 08:16:47 openvpn[36253]: Re-using pre-shared static key
    Feb 26 08:16:47 openvpn[36253]: LZO compression initialized
    Feb 26 08:16:47 openvpn[36253]: Preserving previous TUN/TAP instance: ovpnc1
    Feb 26 08:16:47 openvpn[36253]: UDPv4 link local (bound): [AF_INET]EXTERNAL IP
    Feb 26 08:16:47 openvpn[36253]: UDPv4 link remote: [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:17:28 openvpn[36253]: Peer Connection Initiated with [AF_INET]EXTERNAL IP 2ND:22600
    Feb 26 08:17:28 openvpn[36253]: Initialization Sequence Completed


  • Rebel Alliance Developer Netgate

    No reloading there, it just lost the connection to the far side and reconnected a short time later.



  • yes that's right the other end just lost connection due to ISP failure …..

    but anyway it is day 3rd and Open Vpn is still UP and running so far .... I believe the upgrade did the trick .........

    Anyway thank you for help



  • hmmm that error just showed up again and Open Vpn stopped working. restarting service did not help.

    restarting pfsense 2.0 beta 5 helped.

    What I did it was adding 2nd NIC and plugged to ISP provider. That's all …... I am about to configure wan failover


  • Rebel Alliance Developer Netgate

    @mst:

    hmmm that error just showed up again and Open Vpn stopped working. restarting service did not help.

    Which error exactly?



  • Management Daemon Unreachable


  • Rebel Alliance Developer Netgate

    Anything in the OpenVPN logs to indicate how it may have died? Or the system log?



  • dang it I forget to check that ….. can I see that after rebooting?  from what I see in openvpn is the time it started the tunnel.....


  • Rebel Alliance Developer Netgate

    No, the logs are wiped at reboot. If it happens again, check both of those logs before you try anything else.



  • I will do exactly ….

    Thank you



  • It is the time when it crashes again - at least I believe.

    These are the logs from GUI OpenVpn status:

    Mar 5 09:01:02 openvpn[39418]: Re-using pre-shared static key
    Mar 5 09:01:02 openvpn[39418]: LZO compression initialized
    Mar 5 09:01:02 openvpn[39418]: TCP/UDP: Socket bind failed on local address [AF_INET]EXT IP III: Can't assign requested address
    Mar 5 09:01:02 openvpn[39418]: Exiting
    Mar 5 09:01:02 openvpn[39418]: /usr/local/sbin/ovpn-linkdown ovpnc1 1500 1545 10.0.8.2 10.0.8.1 init
    Mar 5 09:01:32 openvpn[39248]: Peer Connection Initiated with [AF_INET]EXT IP II:63999
    Mar 5 09:01:33 openvpn[39248]: Initialization Sequence Completed
    Mar 5 09:01:40 openvpn[39248]: event_wait : Interrupted system call (code=4)
    Mar 5 09:01:40 openvpn[39248]: /usr/local/sbin/ovpn-linkdown ovpns2 1500 1561 10.0.7.1 10.0.7.2 init
    Mar 5 09:01:40 openvpn[39248]: SIGTERM[hard,] received, process exiting
    Mar 5 09:01:41 openvpn[17949]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar 5 09:01:41 openvpn[17949]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar 5 09:01:41 openvpn[17949]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar 5 09:01:41 openvpn[17949]: LZO compression initialized
    Mar 5 09:01:41 openvpn[17949]: TUN/TAP device /dev/tun2 opened
    Mar 5 09:01:41 openvpn[17949]: do_ifconfig, tt->ipv6=0
    Mar 5 09:01:41 openvpn[17949]: /sbin/ifconfig ovpns2 10.0.7.1 10.0.7.2 mtu 1500 netmask 255.255.255.255 up
    Mar 5 09:01:41 openvpn[17949]: /usr/local/sbin/ovpn-linkup ovpns2 1500 1561 10.0.7.1 10.0.7.2 init
    Mar 5 09:01:41 openvpn[21241]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar 5 09:01:42 openvpn[21241]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar 5 09:01:42 openvpn[22102]: UDPv4 link local (bound): [AF_INET]EXT IP III:63999
    Mar 5 09:01:42 openvpn[22102]: UDPv4 link remote: [undef]
    Mar 5 09:01:42 openvpn[21241]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar 5 09:01:42 openvpn[21241]: LZO compression initialized
    Mar 5 09:01:42 openvpn[21241]: TUN/TAP device /dev/tun1 opened
    Mar 5 09:01:42 openvpn[21241]: do_ifconfig, tt->ipv6=0
    Mar 5 09:01:42 openvpn[21241]: /sbin/ifconfig ovpnc1 10.0.8.2 10.0.8.1 mtu 1500 netmask 255.255.255.255 up
    Mar 5 09:01:42 openvpn[21241]: /usr/local/sbin/ovpn-linkup ovpnc1 1500 1545 10.0.8.2 10.0.8.1 init
    Mar 5 09:01:42 openvpn[22102]: Peer Connection Initiated with [AF_INET]EXT IP III:63999
    Mar 5 09:01:42 openvpn[25258]: UDPv4 link local (bound): [AF_INET]EXT IP
    Mar 5 09:01:42 openvpn[25258]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar 5 09:01:43 openvpn[22102]: Initialization Sequence Completed
    Mar 5 09:02:05 openvpn[22102]: event_wait : Interrupted system call (code=4)
    Mar 5 09:02:05 openvpn[22102]: /usr/local/sbin/ovpn-linkdown ovpns2 1500 1561 10.0.7.1 10.0.7.2 init
    Mar 5 09:02:05 openvpn[22102]: SIGTERM[hard,] received, process exiting
    Mar 5 09:02:05 openvpn[23643]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar 5 09:02:05 openvpn[23643]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar 5 09:02:05 openvpn[23643]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar 5 09:02:05 openvpn[23643]: LZO compression initialized
    Mar 5 09:02:05 openvpn[23643]: TCP/UDP: Socket bind failed on local address [AF_INET]192.168.101.11:63999: Can't assign requested address
    Mar 5 09:02:05 openvpn[23643]: Exiting
    Mar 5 09:02:05 openvpn[25258]: event_wait : Interrupted system call (code=4)
    Mar 5 09:02:05 openvpn[25258]: /usr/local/sbin/ovpn-linkdown ovpnc1 1500 1545 10.0.8.2 10.0.8.1 init
    Mar 5 09:02:06 openvpn[25258]: SIGTERM[hard,] received, process exiting
    Mar 5 09:02:06 openvpn[26534]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar 5 09:02:06 openvpn[26534]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar 5 09:02:06 openvpn[26534]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar 5 09:02:06 openvpn[26534]: LZO compression initialized
    Mar 5 09:02:06 openvpn[26534]: TCP/UDP: Socket bind failed on local address [AF_INET]192.168.101.11: Can't assign requested address
    Mar 5 09:02:06 openvpn[26534]: Exiting

    attached is jpeg

    and here are logs from var/log/openvpn.log :

    Mar  2 08:38:18 pfsense openvpn[39418]: Peer Connection Initiated with [AF_INET]EXT IP:64000
    Mar  2 08:38:19 pfsense openvpn[39418]: Initialization Sequence Completed
    Mar  4 10:09:27 pfsense openvpn[39248]: Peer Connection Initiated with [AF_INET]EXT IP II:63999
    Mar  4 10:09:27 pfsense openvpn[39248]: Initialization Sequence Completed
    Mar  5 08:45:28 pfsense openvpn[39248]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:45:28 pfsense openvpn[39248]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:45:30 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:45:30 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:45:30 pfsense openvpn[39248]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:45:30 pfsense openvpn[39248]: Re-using pre-shared static key
    Mar  5 08:45:30 pfsense openvpn[39248]: LZO compression initialized
    Mar  5 08:45:30 pfsense openvpn[39248]: Preserving previous TUN/TAP instance: ovpns2
    Mar  5 08:45:30 pfsense openvpn[39248]: UDPv4 link local (bound): [AF_INET]EXT IP III:63999
    Mar  5 08:45:30 pfsense openvpn[39248]: UDPv4 link remote: [undef]
    Mar  5 08:45:32 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:45:32 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:45:32 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:45:32 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:45:32 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:45:32 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:46:32 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:46:32 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:46:34 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:46:34 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:46:34 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:46:34 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:46:34 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:46:34 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:47:34 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:47:34 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:47:36 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:47:36 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:47:36 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:47:36 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:47:36 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:47:36 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:48:36 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:48:36 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:48:38 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:48:38 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:48:38 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:48:38 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:48:38 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:48:38 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:49:38 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:49:38 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:49:40 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:49:40 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:49:40 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:49:40 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:49:40 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:49:40 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:50:40 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:50:40 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:50:42 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:50:42 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:50:42 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:50:42 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:50:42 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:50:42 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:51:42 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:51:42 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:51:44 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:51:44 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:51:44 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:51:44 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:51:44 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:51:44 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:52:44 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:52:44 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:52:46 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:52:46 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:52:46 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:52:46 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:52:46 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:52:46 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:53:46 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:53:46 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:53:48 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:53:48 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:53:48 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:53:48 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:53:48 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:53:48 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:54:48 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:54:48 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:54:50 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:54:50 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:54:50 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:54:50 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:54:50 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:54:50 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:55:50 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:55:50 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:55:52 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:55:52 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:55:52 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:55:52 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:55:52 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:55:52 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:56:52 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:56:52 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:56:54 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:56:54 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:56:54 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:56:54 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:56:54 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:56:54 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:57:54 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:57:54 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:57:56 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:57:56 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:57:56 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:57:56 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:57:56 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:57:56 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:58:56 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:58:56 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 08:58:58 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 08:58:58 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 08:58:58 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 08:58:58 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 08:58:58 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 08:58:58 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 08:59:58 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 08:59:58 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 09:00:00 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 09:00:00 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 09:00:00 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 09:00:00 pfsense openvpn[39418]: Preserving previous TUN/TAP instance: ovpnc1
    Mar  5 09:00:00 pfsense openvpn[39418]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 09:00:00 pfsense openvpn[39418]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 09:01:00 pfsense openvpn[39418]: Inactivity timeout (–ping-restart), restarting
    Mar  5 09:01:00 pfsense openvpn[39418]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar  5 09:01:02 pfsense openvpn[39418]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 09:01:02 pfsense openvpn[39418]: Re-using pre-shared static key
    Mar  5 09:01:02 pfsense openvpn[39418]: LZO compression initialized
    Mar  5 09:01:02 pfsense openvpn[39418]: TCP/UDP: Socket bind failed on local address [AF_INET]EXT IP III: Can't assign requested address
    Mar  5 09:01:02 pfsense openvpn[39418]: Exiting
    Mar  5 09:01:02 pfsense openvpn[39418]: /usr/local/sbin/ovpn-linkdown ovpnc1 1500 1545 10.0.8.2 10.0.8.1 init
    Mar  5 09:01:32 pfsense openvpn[39248]: Peer Connection Initiated with [AF_INET]EXT IP II:63999
    Mar  5 09:01:33 pfsense openvpn[39248]: Initialization Sequence Completed
    Mar  5 09:01:40 pfsense openvpn[39248]: event_wait : Interrupted system call (code=4)
    Mar  5 09:01:40 pfsense openvpn[39248]: /usr/local/sbin/ovpn-linkdown ovpns2 1500 1561 10.0.7.1 10.0.7.2 init
    Mar  5 09:01:40 pfsense openvpn[39248]: SIGTERM[hard,] received, process exiting
    Mar  5 09:01:41 pfsense openvpn[17949]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar  5 09:01:41 pfsense openvpn[17949]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar  5 09:01:41 pfsense openvpn[17949]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 09:01:41 pfsense openvpn[17949]: LZO compression initialized
    Mar  5 09:01:41 pfsense openvpn[17949]: TUN/TAP device /dev/tun2 opened
    Mar  5 09:01:41 pfsense openvpn[17949]: do_ifconfig, tt->ipv6=0
    Mar  5 09:01:41 pfsense openvpn[17949]: /sbin/ifconfig ovpns2 10.0.7.1 10.0.7.2 mtu 1500 netmask 255.255.255.255 up
    Mar  5 09:01:41 pfsense openvpn[17949]: /usr/local/sbin/ovpn-linkup ovpns2 1500 1561 10.0.7.1 10.0.7.2 init
    Mar  5 09:01:41 pfsense openvpn[21241]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar  5 09:01:42 pfsense openvpn[21241]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar  5 09:01:42 pfsense openvpn[22102]: UDPv4 link local (bound): [AF_INET]EXT IP III:63999
    Mar  5 09:01:42 pfsense openvpn[22102]: UDPv4 link remote: [undef]
    Mar  5 09:01:42 pfsense openvpn[21241]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 09:01:42 pfsense openvpn[21241]: LZO compression initialized
    Mar  5 09:01:42 pfsense openvpn[21241]: TUN/TAP device /dev/tun1 opened
    Mar  5 09:01:42 pfsense openvpn[21241]: do_ifconfig, tt->ipv6=0
    Mar  5 09:01:42 pfsense openvpn[21241]: /sbin/ifconfig ovpnc1 10.0.8.2 10.0.8.1 mtu 1500 netmask 255.255.255.255 up
    Mar  5 09:01:42 pfsense openvpn[21241]: /usr/local/sbin/ovpn-linkup ovpnc1 1500 1545 10.0.8.2 10.0.8.1 init
    Mar  5 09:01:42 pfsense openvpn[22102]: Peer Connection Initiated with [AF_INET]EXT IP II:63999
    Mar  5 09:01:42 pfsense openvpn[25258]: UDPv4 link local (bound): [AF_INET]EXT IP III
    Mar  5 09:01:42 pfsense openvpn[25258]: UDPv4 link remote: [AF_INET]EXT IP:64000
    Mar  5 09:01:43 pfsense openvpn[22102]: Initialization Sequence Completed
    Mar  5 09:02:05 pfsense openvpn[22102]: event_wait : Interrupted system call (code=4)
    Mar  5 09:02:05 pfsense openvpn[22102]: /usr/local/sbin/ovpn-linkdown ovpns2 1500 1561 10.0.7.1 10.0.7.2 init
    Mar  5 09:02:05 pfsense openvpn[22102]: SIGTERM[hard,] received, process exiting
    Mar  5 09:02:05 pfsense openvpn[23643]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar  5 09:02:05 pfsense openvpn[23643]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar  5 09:02:05 pfsense openvpn[23643]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 09:02:05 pfsense openvpn[23643]: LZO compression initialized
    Mar  5 09:02:05 pfsense openvpn[23643]: TCP/UDP: Socket bind failed on local address [AF_INET]192.168.101.11:63999: Can't assign requested address
    Mar  5 09:02:05 pfsense openvpn[23643]: Exiting
    Mar  5 09:02:05 pfsense openvpn[25258]: event_wait : Interrupted system call (code=4)
    Mar  5 09:02:05 pfsense openvpn[25258]: /usr/local/sbin/ovpn-linkdown ovpnc1 1500 1545 10.0.8.2 10.0.8.1 init
    Mar  5 09:02:06 pfsense openvpn[25258]: SIGTERM[hard,] received, process exiting
    Mar  5 09:02:06 pfsense openvpn[26534]: OpenVPN testing-cee388313521 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20100307-1] built on Feb 21 2011
    Mar  5 09:02:06 pfsense openvpn[26534]: [DEPRECATED FEATURE ENABLED: random-resolv] Resolving hostnames will use randomisation if more than one IP address is found
    Mar  5 09:02:06 pfsense openvpn[26534]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar  5 09:02:06 pfsense openvpn[26534]: LZO compression initialized
    Mar  5 09:02:06 pfsense openvpn[26534]: TCP/UDP: Socket bind failed on local address [AF_INET]192.168.101.11: Can't assign requested address
    Mar  5 09:02:06 pfsense openvpn[26534]: Exiting

    Is there any other place where I can get more logs? Did not reboot the pfsense 2.0 beta 5 yet.

    What is interesting is 192.168.101.11 I don use 192.168.101.x network at all and reviewing all config again.

    Thank you




  • as for now OpenVpn is up but the client cannot connect with the server …... even after rebooting



  • Downloaded RC1 that fixed all of bugs and looked like that fixed all of my problems with OpenVpn


Locked