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

    Unable to get site-site VPN working

    Scheduled Pinned Locked Moved WireGuard
    18 Posts 3 Posters 550 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.
    • S
      stevelup
      last edited by stevelup

      Home in 'light' theme, office in 'dark' theme.

      Here is a successful ping of a device on the office LAN from the home pfSense GUI
      wg-home-ping-office-ok.png

      Here is a successful ping of a device on the home LAN from the office pfSense GUI
      wg-office-ping-home-ok.png

      Office > home static route
      wg-office-static-route.png

      Office firewall rule (it's just any/any)
      wg-office-fw-rule.png

      Office peers
      wg-office-peers.png

      Home > office static route
      wg-home-static-route.png

      Home firewall rule (again, just any/any)
      wg-home-fw-rule.png

      Home peers
      wg-home-peers.png

      1 Reply Last reply Reply Quote 0
      • S
        stevelup
        last edited by

        Here's my LAN firewall rule in case it's relevant - again, it just allows any
        wg-home-lan-fw-rule.png

        And here is what I see if I try and make a random connection (I just telnetted to the unused port 12345) from home to the office.
        wg-home-states.png

        I'm obviously just missing something spectacularly dumb... but this has me at a loss and I'm not one who normally gives up and asks for help!

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

          @stevelup And you have no rules on the WireGuard-Interface-Tab (both sides)?
          Please share your WireGuard-Interfaces as well. There you should set 1420 as MTU and MSS.
          Your allowed IPs with /31 are wrong, that should be /32 with the IP of the other side of the tunnel but it doesn't look to be related to your actual problem.

          S 1 Reply Last reply Reply Quote 0
          • S
            stevelup @Bob.Dig
            last edited by

            @Bob-Dig Can confirm there are no rules in either WireGuard tab. I followed the advice in Christian McDonald's video and set Interface Group Membership to 'Only Unassigned Tunnels' which means that rule isn't in play anyway. But this was one of my troubleshooting steps after I couldn't get it working.

            The /31 came from the official docs:-

            https://docs.netgate.com/pfsense/en/latest/recipes/wireguard-s2s.html

            But as you say, I don't think that's relevant because the VPN is actually working fine.

            I will certainly try changing it though just for the purposes of eliminating a further variable.

            Can confirm MTU is set to 1420 at both ends.

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

              @stevelup said in Unable to get site-site VPN working:

              I will certainly try changing it though just for the purposes of eliminating a further variable.

              Please do, could be a potential issue with the documentation there. If you change that, does the gateway monitoring work? It shouldn't work right now...

              What clients are we talking about? If it is Windows, turn their firewalls off on both sides just to make sure, because I can't see the problem right now.

              S 1 Reply Last reply Reply Quote 0
              • S
                stevelup @Bob.Dig
                last edited by

                @Bob-Dig Gateway monitoring is working fine (and always has)

                wg-gateway-monitoring-home.png wg-gateway-monitoring-office.png

                The client devices I'm pinging to/from are Linux boxes with no firewall, and as above, they are pingable from the pfSense GUI

                Both the site-to-site and site-to-multisite tutorials on the pfSense docs show a subnet there not a single host, as does Christian's video, but I'll certainly try it.

                S Bob.DigB 2 Replies Last reply Reply Quote 0
                • S
                  stevelup @stevelup
                  last edited by

                  Hi

                  Many thanks for your continuing assistance.

                  I did that...

                  wg-office-peer-32.png wg-home-peer-32.png

                  ... no change. Gateway monitoring still working both ends, I can ping either direction from pfSense GUI, but not from either LAN.

                  This feels like a firewall / NAT issue, and not really anything to do with Wireguard.

                  Steve

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

                    @stevelup Might be pfSense-magic. If gateway monitoring is already working, nothing to do. But it might be a pfSense only thing.

                    Firewall/NAT issue... I don't think so because you don't NAT if you have followed the tutorial by Christian. Your VMs running bare metal or?

                    1 Reply Last reply Reply Quote 0
                    • S
                      stevelup
                      last edited by

                      I have a mixture of bare metal and virtualised stuff at both ends, not sure it's relevant.

                      Network is simple, one single flat /24 on each side.

                      It's worth pointing out that I can't even ping the remote pfSense gateways which basically rules out anything external as far as I can see.

                      See below - I can ping 192.168.1.254 from my home pfSense GUI, but not from my home LAN.

                      This is going to be something spectacularly dumb when I figure out what it is but I just don't understand how to troubleshoot this.

                      wg-home-ping-gw-bad.png wg-home-ping-gw.png

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        viragomann @stevelup
                        last edited by

                        @stevelup said in Unable to get site-site VPN working:

                        I can ping 192.168.1.254 from my home pfSense GUI, but not from my home LAN.

                        Post the routing tables of all involved devices, please: The one of the LAN machine and of both pfSense nodes.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          stevelup @viragomann
                          last edited by

                          I am so sorry to have wasted your time but I've solved this, and it was complete and absolute muppetry on my behalf.

                          I had, many months ago, attempted to set this same thing up using an IPsec tunnel. The non-working IPsec tunnel was still set up on one of the devices...

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