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

Can't connect to Wireguard server from WAN

WireGuard
2
5
687
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 Aug 13, 2022, 7:14 PM

    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

    B 1 Reply Last reply Aug 13, 2022, 7:16 PM Reply Quote 0
    • B
      Bob.Dig LAYER 8 @VictorB
      last edited by Aug 13, 2022, 7:16 PM

      @victorb Show some (many) screenshots.

      V 1 Reply Last reply Aug 13, 2022, 7:27 PM Reply Quote 1
      • V
        VictorB @Bob.Dig
        last edited by Aug 13, 2022, 7:27 PM

        @bob-dig

        login-to-view
        login-to-view
        login-to-view
        login-to-view
        login-to-view
        login-to-view

        B 1 Reply Last reply Aug 13, 2022, 7:33 PM Reply Quote 0
        • B
          Bob.Dig LAYER 8 @VictorB
          last edited by Bob.Dig Aug 13, 2022, 7:35 PM Aug 13, 2022, 7:33 PM

          @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 Aug 13, 2022, 7:36 PM Reply Quote 1
          • V
            VictorB @Bob.Dig
            last edited by Aug 13, 2022, 7:36 PM

            @bob-dig

            It works! Thanks!

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