Repeating disconnect and connect on 2.1 BETA0



  • I update pfsense 2.1 to 19th Jul version.
    Then openVPN client become repeating disconnect and connect.
    Does anyone have any solutions?


  • Rebel Alliance Developer Netgate

    There aren't any known problems with OpenVPN that I'm aware of anyhow. Why not use a current snapshot?
    What errors show up in the OpenVPN log when it gets disconnected? Anything in the system log?



  • Thanks.
    I updated to current snapshot today, but connection lost problem didn't resolved.

    That problem didn't appear before update around 19th Jul.

    This is the log when connection got lost:

    Aug 4 09:38:05 openvpn[21622]: event_wait : Interrupted system call (code=4)
    Aug 4 09:38:05 openvpn[21622]: /usr/local/sbin/ovpn-linkdown ovpnc1 1500 1560 192.168.101.6 192.168.101.5 init
    Aug 4 09:38:05 openvpn[21622]: SIGTERM[hard,] received, process exiting
    Aug 4 09:38:05 openvpn[2061]: OpenVPN 2.2.0 amd64-portbld-freebsd8.3 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jul 2 2012
    Aug 4 09:38:05 openvpn[2061]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
    Aug 4 09:38:05 openvpn[2061]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Aug 4 09:38:05 openvpn[2061]: Control Channel Authentication: using '/var/etc/openvpn/client1.tls-auth' as a OpenVPN static key file
    Aug 4 09:38:05 openvpn[2061]: LZO compression initialized
    Aug 4 09:38:05 openvpn[2435]: Attempting to establish TCP connection with [AF_INET]...:1194 [nonblock]
    Aug 4 09:38:06 openvpn[2435]: TCP connection established with [AF_INET]...:1194
    Aug 4 09:38:06 openvpn[2435]: TCPv4_CLIENT link local: [undef]
    Aug 4 09:38:06 openvpn[2435]: TCPv4_CLIENT link remote: [AF_INET]...:1194
    Aug 4 09:38:14 openvpn[2435]: WARNING: 'tun-ipv6' is present in local config but missing in remote config, local='tun-ipv6'
    Aug 4 09:38:14 openvpn[2435]: [server] Peer Connection Initiated with [AF_INET]...:1194
    Aug 4 09:38:17 openvpn[2435]: TUN/TAP device /dev/tun1 opened
    Aug 4 09:38:17 openvpn[2435]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
    Aug 4 09:38:17 openvpn[2435]: /sbin/ifconfig ovpnc1 192.168.101.6 192.168.101.5 mtu 1500 netmask 255.255.255.255 up
    Aug 4 09:38:17 openvpn[2435]: /usr/local/sbin/ovpn-linkup ovpnc1 1500 1560 192.168.101.6 192.168.101.5 init
    Aug 4 09:38:17 openvpn[2435]: Initialization Sequence Completed


  • Rebel Alliance Developer Netgate

    ok, so something is restarting openvpn. Check your main system log, perhaps you have a gateway going up/down?


Locked