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

    Cannot Get Wireguard to Handshake w/ Mullvad

    Scheduled Pinned Locked Moved WireGuard
    13 Posts 3 Posters 1.6k Views 1 Watching
    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 Offline
      n3IVI0 @n3IVI0
      last edited by

      @n3IVI0 That did not work. So the problem is NOT the newest version of pfSense.

      Per the instructions from Mullvad:

      SSH'd in, generated my keypair.
      Got the correct IP.

      cd /usr/local/etc/wireguard/
      wg genkey | tee privkey | wg pubkey > pubkey
      echo "public wireguard key"; cat pubkey; echo; echo "private wireguard key"; cat privkey
      curl https://api.mullvad.net/wg/ -d account=YOURMULLVADACCOUNTNUMBER --data-urlencode pubkey=YOURPUBLICKEY | tee mullvad-ip

      Created the tunnel and peer, activated WireGuard. Nothing. I have done this exact process in the past. Nothing has changed.

      Screenshot 2024-06-03 at 10.45.01 AM.jpg

      Screenshot 2024-06-03 at 10.49.08 AM.jpg

      1 Reply Last reply Reply Quote 0
      • N Offline
        n3IVI0
        last edited by

        Saw this in the log:

        Screenshot 2024-06-03 at 10.51.37 AM.png

        Set WAN to be the default gateway. Still no handshake.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Jarhead @n3IVI0
          last edited by

          @n3IVI0 The problem is people always say "I did everything right so why isn't it working?"
          Well, obviously you didn't do everything right or it would be working. But no one can help you if you don't post pics of what you did.
          So the only thing I can say is go back and follow the instructions again.
          I will say I know you didn't do it right because you were supposed to create a new gateway and your last post would be the hint you need to get it working.
          So that would be a good place to start in the instructions.

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            n3IVI0 @Jarhead
            last edited by n3IVI0

            @Jarhead Thanks Mom.

            Anybody on here with useful information or advice?

            Bob.DigB J 2 Replies Last reply Reply Quote 0
            • Bob.DigB Offline
              Bob.Dig LAYER 8 @n3IVI0
              last edited by

              @n3IVI0 Don't use a firewall-appliance, get something simpler, maybe OpenWRT.

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                n3IVI0 @Bob.Dig
                last edited by

                This post is deleted!
                Bob.DigB 1 Reply Last reply Reply Quote 0
                • Bob.DigB Offline
                  Bob.Dig LAYER 8 @n3IVI0
                  last edited by Bob.Dig

                  @n3IVI0 Even I use OpenWRT for all my WireGuard-Privacy-VPN-Clients, not pfSense. Maybe the linux support is a factor.

                  Screenshot 2024-06-03 104547.png

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jarhead @n3IVI0
                    last edited by

                    @n3IVI0 said in Cannot Get Wireguard to Handshake w/ Mullvad:

                    @Jarhead Thanks Mom.

                    Anybody on here with useful information or advice?

                    Yes. You've already been given it. You just don't want to listen.

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      n3IVI0 @Jarhead
                      last edited by

                      @Jarhead Dude. I did. You have nothing useful to say. Your response is "RTFM". If that worked, I wouldn't be in here asking questions. Something is causing the handshake operation to fail. That's what I'm trying to figure out.

                      N 1 Reply Last reply Reply Quote 0
                      • N Offline
                        n3IVI0 @n3IVI0
                        last edited by

                        @n3IVI0 My setup was correct. The problem was on Mullvad's end. The first server in my list was one of their Houston servers. It's a fast server, one I tend to use a lot. And it was first in line. That server appears to be down. None of my clients will connect to it. The moment I tried to connect to a different one, it connected immediately.

                        And yes, I should have thought of that. I am working through some jet lag at the moment. DOH.

                        Been running in circles for days trying to figure this out.

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