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

    pfSense mangling packets?

    Scheduled Pinned Locked Moved General pfSense Questions
    53 Posts 4 Posters 3.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Hmm, and it also worked when you ran the WG client on the server directly, passing all traffic across it?

      It's possible they don't want traffic using VPNs and have included things to detect it like Netflix etc. Though I'm not sure why they would.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @stephenw10
        last edited by

        @stephenw10 could have some sort of split tunnel thing going on, his sniff on the wan if was routed through a vpn would be seeing traffic to the vpn endpoint, not some MS IP that 13 address from his wan.

        Could be its sending reset because hey your IP is different than what it should be for whatever connection is being made from some other IP, etc.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • T
          Tueem @johnpoz
          last edited by

          @johnpoz Yeah I'm sorry it was pretty weird at first and the connections were also blocked through wan, but this apparently resolved itself. Thats why I brought it up later.

          Im gonna try to explain my setup again.
          I have a home server and a VPN from a provider which is assigned to a static IP.
          That way Im trying to have my server available through that VPN IP and all the traffic from my home server should ONLY get routed through the VPN. It should never hit my WAN so that way the server has no association with my WAN IP.
          All other services I tried work. I had game servers for other games to which I could connect fine and web servers also work fine. Its just the Minecraft IP which has problems.
          But like stephenw10 said I tried it by using the VPN directly using the official desktop WIN10 Wireguard client and it connected fine, which is why I don't think its any VPN detection or blocking necessarily.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            And just to be clear that WG client is actually running on the same server? The 'server' in this case is a Windows box?

            T johnpozJ 2 Replies Last reply Reply Quote 0
            • T
              Tueem @stephenw10
              last edited by

              @stephenw10 if I run it through the server the connection works. But it should run on pfsense and the server should get its traffic policy routed to the vpn. thats where the issues exists

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Yup I just wanted to be sure you weren't testing that on some other Windows client.

                Are you policy routing all traffic from that server over the VPN? Including DNS?

                T 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @stephenw10
                  last edited by

                  @stephenw10 another prime x-y problem example

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tueem @stephenw10
                    last edited by

                    @stephenw10 No DNS is going over pfsense but I've set cloudflare and google dns. But except that all other traffic is routed through vpn

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @Tueem
                      last edited by

                      @Tueem said in pfSense mangling packets?:

                      No DNS is going over pfsense

                      This can cause issues with stuff that is hosted in CDNs.. where you have one part of system pulling a dns from region X dns, and maybe the other end pulling from region Y.. And then for what your trying to do there ends of being a disconnect in who ends up talking to who up in the cloud, or talking from a different region that what is expected, etc.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Mmm, when you run the VPN client on the host I imagine it routes all traffic over the VPN and likely resets the host to se the VPN providers DNS. You should be able to check that on the host.

                        I would try setting the DNS on the server to the same thing the VPN clients sets it to and then policy route all traffic from it over the VPN.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          Tueem @stephenw10
                          last edited by

                          @stephenw10 That didn't help unfortunately

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Tueem @Tueem
                            last edited by Tueem

                            What might also be interesting is that TLS handshakes with some sites (according to firefox) take very long through the vpn and cause a timeout.

                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @Tueem
                              last edited by

                              @Tueem said in pfSense mangling packets?:

                              with some sites (according to firefox)

                              How does this info present itself? While I don't run normally through a vpn, I do now and then testing stuff.. Not some service my own vpn that I run on a vps out on the internet, etc. And have never seen any such info presented..

                              Long handshakes through a vpn would get me concerned about a mitm on the cert or some sort of proxy doing a bump on the ssl.. While sure a vpn can add some latency to the connection. There should be nothing really different in the handshake time other than whatever latency your seeing through the vpn for all traffic.

                              Can you post up screenshot of how firefox is presenting that little tidbit of info?

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                Tueem @johnpoz
                                last edited by

                                @johnpoz Its this pop-up in the bottom left I'm referring to:
                                c6731f28-336e-452a-a1e9-1596007bdcbd-image.png

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Try opening the Firefox debug console and looking at the network connections/timing while doing that.

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    Tueem @stephenw10
                                    last edited by

                                    @stephenw10 Here is the entire log:
                                    04e5adc4-a23d-448e-ba1c-87b0e045d290-image.png

                                    As you can see the result is missing css

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      It looks like you have a an adblocker and it's blocking the css file along with all the actual ads.

                                      T 2 Replies Last reply Reply Quote 0
                                      • T
                                        Tueem @stephenw10
                                        last edited by

                                        @stephenw10 hmmm thats weird. I'm gonna ask the VPN provider because I definitely don't have one

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tueem @stephenw10
                                          last edited by

                                          @stephenw10 I've asked the VPN provider and waiting for an answer but I don't think that will be the problem since im using google dns and the same issues happens if I use another Wireguard VPN. I'm guessing its some kind of wireguard problem

                                          w0wW T 2 Replies Last reply Reply Quote 0
                                          • w0wW
                                            w0w @Tueem
                                            last edited by

                                            @Tueem
                                            Do you have IPv6 enabled and working?

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