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

    Can't connect to Wireguard server from WAN

    WireGuard
    2
    5
    689
    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.
    • V
      VictorB
      last edited by

      Hi all!

      So as the title says I'm trying to connect from my cellphone to my Wireguard server but the connection doesn't go through. I can see the packets coming in through packet capture but they don't seem to get to Wireguard.

      Dump from packet capture:

      19:06:19.182491 IP 46.97.176.186.59680 > <home_ip_addr>.51820: UDP, length 148
      19:06:24.172295 IP 46.97.176.186.59680 > <home_ip_addr>.51820: UDP, length 148
      
      

      To setup Wireguard I followed the tutorial here: https://www.wundertech.net/how-to-set-up-wireguard-on-pfsense/

      With the exception that I used OPT1 instead on WAN as WAN is my failover interface.

      If you can point me in the right direction to debug your help would be greatly appreciated!

      Thanks!
      Victor

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @VictorB
        last edited by

        @victorb Show some (many) screenshots.

        V 1 Reply Last reply Reply Quote 1
        • V
          VictorB @Bob.Dig
          last edited by

          @bob-dig

          a28675d9-444f-46fa-9a9b-973c8fc3d4a7-image.png
          455674b0-dca1-4d39-b776-43ba75b4d7c0-image.png
          a6572146-7d25-4372-a06f-89172517f8ca-image.png
          a32ee3d1-7a2d-4898-8107-0a7a2bb5cca7-image.png
          47a5ec9f-469d-40a8-bc88-1698373c67c8-image.png
          9f830993-c560-4abf-80ab-753bb0ae3977-image.png

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @VictorB
            last edited by Bob.Dig

            @victorb You firewall rule has some problems.
            Change Source to any and destination to opt1 address.

            If it still doesn't work, let us have a look at SystemRoutingGateways and outbound NAT if you want to surf as the pfSense.

            V 1 Reply Last reply Reply Quote 1
            • V
              VictorB @Bob.Dig
              last edited by

              @bob-dig

              It works! Thanks!

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