Openvpn Crashes



  • Hi! A few days ago. I restored pfsense 2.0.1 backup. Since then, Openvpn crashes when i try to connect with clients. The server service stops. I remove all certificates and all openvpn servers. I reconfigured again, but the problem persist.

    Anyone know how to fix it?  Can i reinstall a openvn?

    Thank you!


  • Rebel Alliance Developer Netgate

    Not enough detail here to speculate about what's actually wrong…

    What does the OpenVPN log contain (Status > System Logs, OpenVPN tab)



  • Hi!! thanks for reply This is openVPN log.
    Oct 8 16:13:02 openvpn[27590]: OpenVPN 2.2.0 amd64-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Aug 11 2011
    Oct 8 16:13:02 openvpn[27590]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Oct 8 16:13:02 openvpn[27590]: Control Channel Authentication: using '/var/etc/openvpn/server1.tls-auth' as a OpenVPN static key file
    Oct 8 16:13:02 openvpn[27590]: TUN/TAP device /dev/tun1 opened
    Oct 8 16:13:02 openvpn[27590]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
    Oct 8 16:13:02 openvpn[27590]: /sbin/ifconfig ovpns1 192.168.50.1 192.168.50.2 mtu 1500 netmask 255.255.255.255 up
    Oct 8 16:13:02 openvpn[27590]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1539 192.168.50.1 192.168.50.2 init
    Oct 8 16:13:02 openvpn[28520]: UDPv4 link local (bound): [AF_INET]XX.XX.XX.XX:1194
    Oct 8 16:13:02 openvpn[28520]: UDPv4 link remote: [undef]
    Oct 8 16:13:02 openvpn[28520]: Initialization Sequence Completed
    Oct 8 16:13:27 openvpn[28520]: XX.XX.XX.XX:7955 Re-using SSL/TLS context
    Oct 8 16:13:27 openvpn[28520]: XX.XX.XX.XX:7955 LZO compression initialized
    Oct 8 16:13:39 openvpn: Found certificate /C=XX/ST=XX/L=Barcelona/O=XX/emailAddress=XX/CN=OpenvpnCA with depth 1
    Oct 8 16:13:39 openvpn: Found certificate /C=XX/ST=XX/L=Barcelona/O=XX/emailAddress=XX/CN=user with depth 0
    Oct 8 16:13:42 openvpn: user user authenticated
    Oct 8 16:13:42 openvpn[28520]: XX.XX.XX.XX:7955 [user] Peer Connection Initiated with [AF_INET]XX.XX.XX.XX:7955
    Oct 8 16:13:42 openvpn[28520]: user/XX.XX.XX.XX:7955 MULTI_sva: pool returned IPv4=192.168.50.6, IPv6=4845:201:800:0:1800::
    Oct 8 16:13:44 openvpn[28520]: user/XX.XX.XX.XX:7955 send_push_reply(): safe_cap=960
    Oct 8 16:13:54 openvpn[28520]: user/XX.XX.XX.XX:7955 Assertion failed at crypto.c:161
    Oct 8 16:13:54 openvpn[28520]: user/XX.XX.XX.XX:7955 Exiting
    Oct 8 16:13:54 openvpn[28520]: user/XX.XX.XX.XX:7955 /usr/local/sbin/ovpn-linkdown ovpns1 1500 1539 192.168.50.1 192.168.50.2 init

    Thanks you!!


  • Rebel Alliance Developer Netgate

    Edit the OpenVPN server, make sure you have the right cipher selected, such as AES-128-CBC

    Then make sure the client is set to use the same cipher.



  • Hi! It works, thank you.

    What happened? I know that the server and client didn't match. Do you know by why?


Log in to reply