Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Openvpn Crashes

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lou
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

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

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

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • L
          lou
          last edited by

          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!!

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            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.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • L
              lou
              last edited by

              Hi! It works, thank you.

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.