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

    Possible to traceroute from pfSense across VPN connection?

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 3 Posters 1.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.
    • B
      bartkowski @stephenw10
      last edited by

      I do not have any static routes. I'm on 22.05 SG-2440.

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

        @bartkowski said in Possible to traceroute from pfSense across VPN connection?:

        I have a NordVPN connection (use with policy routing) established and would like to perform a traceroute across that connection. Is that possible from pfSense, GUI or command?

        No. The policy routing is applied to incoming traffic on the interface you've defined the rule. But pfSense itself doesn't obey it.
        You can only trace the route from a device connected to this interface.

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

          You may not have added them as static routes but they might be there for other reasons such as DNS servers or VPN endpoints. Check Diag > Routes to be sure.

          Steve

          B 1 Reply Last reply Reply Quote 0
          • B
            bartkowski @stephenw10
            last edited by

            @stephenw10 I think I may have found my issue, an Outbound NAT mapping which I put in to fix some other issue (NTP if I recall correctly).

            OutboundNAT.png

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

              In automatic mode it ignores any manually entered rules. Also that rule would only apply to traffic leaving the WAN and not the VPN.

              B 1 Reply Last reply Reply Quote 0
              • B
                bartkowski @stephenw10
                last edited by

                @stephenw10 If I disable the Outbound NAT rule and do my traceroute, the first hop is on IP from VPN provider, 10.8.2.1. With the rule active, it goes out my WAN via 96.x.x.29.

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

                  That rule shown in your screenshot? With Outbound NAT set to automatic mode?

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bartkowski @stephenw10
                    last edited by bartkowski

                    @stephenw10 Yes, but it is set to Hybrid.

                    edit: and yes, this rule is to fix NTP, without, NTP does not work.

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

                      Ah, well try changing that rule to destination port 123 so it only catches NTP traffic.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bartkowski @stephenw10
                        last edited by

                        @stephenw10 That did it, thank you.

                        Here is the relevant thread and note from JimP about this rule. ( I cannot post hyperlinks)
                        NTPsolvedNatRule.png

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