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

    Wireguard Site-to-site not passing traffic

    Scheduled Pinned Locked Moved WireGuard
    wireguardsite-to-siterouting
    13 Posts 3 Posters 470 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.
    • M
      MartynK
      last edited by

      I have followed these instructions when setting up my site-to-site, the only thing I changed was the two network ranges for the main and remote sites and their WAN IPs.

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

      I can see that the tunnel is up and that the peer is active at both ends.

      The routing and FW rules are in place, but nothing I do seem to allow traffic over the link.

      I cannot see any errors anywhere, the logs show nothing and I am now stuck.

      Can anyone point me in the right direction ?

      patient0P 1 Reply Last reply Reply Quote 0
      • patient0P
        patient0 @MartynK
        last edited by

        @MartynK can you show the configuration of the Wireguard tunnel, Wireguard status, the Wireguard interfaces and the firewall rules for the Wireguard interfaces?
        And can you ping the Wireguard endpoints?

        M 1 Reply Last reply Reply Quote 0
        • M
          MartynK @patient0
          last edited by

          Can I dump the config somehow or screen shots ?

          Pinging the endpoints, I can ping from the remote to the main OK, but the main to remote does not ping.
          So guessing something on my main setup.

          patient0P 1 Reply Last reply Reply Quote 0
          • patient0P
            patient0 @MartynK
            last edited by

            @MartynK said in Wireguard Site-to-site not passing traffic:

            Can I dump the config somehow or screen shots ?

            Screenshots is probably the best option.

            Pinging the endpoints, I can ping from the remote to the main OK, but the main to remote does not ping

            Okey, not ideal.

            M 1 Reply Last reply Reply Quote 0
            • M
              MartynK @patient0
              last edited by

              @patient0 I hope this is what you want.

              I need to split the uploads of two posts.

              Main Site
              01. Host Tunnels.png
              02. Host Config.png
              03. Host Status.png
              04. Host WAN Firewall Rule.png
              05 Host Wireguard Firewall Rule.png
              06. Host Routing.png

              M 1 Reply Last reply Reply Quote 0
              • M
                MartynK @MartynK
                last edited by MartynK

                @patient0

                Remote Site
                01 Rem Tunnels.png
                02. Rem Config.png
                03. Rem Status.png
                04. Rem WAN Firewall Rule.png
                05. Rem Wireguard Firewall Rule.png
                06. Rem Routing.png

                patient0P 1 Reply Last reply Reply Quote 0
                • patient0P
                  patient0 @MartynK
                  last edited by

                  @MartynK Mmmmh, it does look ok. And looking at the RX and TX on the remote, it looks as some traffic is leaving over the tunnel. But the same values on the main site are very low.

                  I assume you have no other 10..../xx route that overlaps with with 10.6.210.0/31?

                  And do you have added static routes for the the local network(s) you want to route? And the networks you want to route on the main site and the remote site do not overlap?

                  M Bob.DigB 2 Replies Last reply Reply Quote 0
                  • M
                    MartynK @patient0
                    last edited by

                    @patient0 The numbers on the main site being low was because I rebooted the FW a little while ago, you never know if something was just odd.

                    The only other thing I have using a 10. address is 10.100.0.1 for a NORD VPN.
                    My two network ranges are 192.168.100.0 and 192.168.200.0

                    The static routes are there as follows:

                    Host:
                    07. Host Static Route.png

                    Remote:
                    07. Rem Static Route.png

                    I am wondering if there is an issue with two WireGuard instances running, one for my remote access and another for the site to site as per:
                    01. Host Tunnels.png

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

                      @patient0 Usually the allowed IPs for the WG-Connection itself is set to /32 and nothing else, so include only the IP of the other side. The guide might be wrong here. Also you should set MTU and MSS to 1420 on both sides. And check your Interface named "WireGuard", it should have no rules at all.

                      1 Reply Last reply Reply Quote 0
                      • patient0P
                        patient0 @MartynK
                        last edited by patient0

                        @MartynK said in Wireguard Site-to-site not passing traffic:

                        The only other thing I have using a 10. address is 10.100.0.1 for a NORD VPN.

                        That is surely ok, it only would be an issue if you got a route for something like 10.0.0.0/8. A route for 10.100.0.1/24 or similar is not overlapping at all.

                        My two network ranges are 192.168.100.0 and 192.168.200.0

                        If .100.0/24 is the network on the remote and .200.0/24 on the host, then you have set it correct.

                        I am wondering if there is an issue with two WireGuard instances running

                        No, multiple Wireguard tunnels on different ports are absolutely fine.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MartynK @patient0
                          last edited by

                          @patient0 I tried changing to a /32 and nothing worked.

                          I changed the MTU and MSS to 1420 nothing changed.

                          I rebooted both FWs and now it seems to work

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MartynK @MartynK
                            last edited by

                            @patient0 Thanks so much for your time in looking at this, not sure what happened.

                            I must admit I have had the same problem with DHCP before, did not take the settings until a reboot.

                            patient0P 1 Reply Last reply Reply Quote 0
                            • patient0P
                              patient0 @MartynK
                              last edited by

                              @MartynK that's ok, it's a bit odd that a reboot was necessary. Maybe it was the MTU changes?

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