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

    OpenVPN Authenticate/Decrypt packet error: packet HMAC authentication

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 7.4k 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.
    • N
      nijaz
      last edited by

      Hi all,

      First I want to apologise if this has previously been asked. I have had trouble locating the info required!

      I have one pfSense server with local IP 172.16.0.1
      1 pfSense clients with local IP-s 172.16.1.1
      They are connected together over OpenVPN site-to-site (Shared key, BF-CBC 128 encryption algorithm)
      When i setup connection Open VPN tunel works for couple minuts and then it crashes.

      Looking at server log i see this massage:
      Process: openvpn
      PID: 21576
      Message: Authenticate/Decrypt packet error: packet HMAC authentication failed

      I posted screenshot from server log and client log
      How to resolve thiss error
      Thanks

      Klijent.JPG
      Klijent.JPG_thumb
      Server.JPG
      Server.JPG_thumb

      1 Reply Last reply Reply Quote 0
      • N
        nijaz
        last edited by

        Please…
        Anyone?

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

          Something between the two does not match. Most likely you didn't copy the shared key from one to the other so they are using different keys.

          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
          • W
            Wisiwyg
            last edited by

            I'm having the same problem… "Authenticate/Decrypt packet error: packet HMAC authentication failed"

            and I've reviewed and re-input the keys a couple of times. IĀ  believe this may be related to the recent reset of all of the PIA keys/ports/ciphers due to the Russian activity.

            Does anyone have a 'how-to' that includes the most recent changes? TIA.

            Overkill - i5 quad, 3.1ghz, 8gb, 240gb SSD, dual & single Intel NICs

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