Is there a way to trace the "real" route of a packet if i am behind a VPN?
The relevant question is whether you know the DNS name (something like vpn.foo.com) of the VPN server you're connected to?
If so, then you disconnect from the VPN and traceroute to that DNS name... that traceroute is the path your packets take before going into the VPN server. If you don't know the DNS name it is connecting to, then ask your IT people for that DNS name. Be sure to run the traceroutes from the same machine you are having problems on (in case they are DNS load-balancing... so DNS name resolution stands a better chance of being consistent)
I usually use mtr or ping plotter freeware to troubleshoot poor connections, but there are plenty of other tools for the job.
Related videos on Youtube
Socios Socials
Updated on June 04, 2022Comments
-
Socios Socials almost 2 years
I would like to find a way to have as response the real route, tracing a server, when I am behind a VPN.
For example the first hop tracing stackoverflow.com from my pc is my router. When I dial a VPN then the first hope is the vpn server.
My question is, if it is a way to find out (although i am behind the VPN) the "real" route of the package before reaching the VPN server.
-
Socios Socials about 13 yearsA case is like that. I have an Virtual Machine hosting by a Cloud Provider for example and I want to know where that VM is. Tracerouting a random IP is not the case because the first hope is the VPN gateway that is always the same. I want to know if the VM is running in UK or in India for example.
-
Mike Pennington about 13 yearsSorry, but the details are not quite clear... Do you want the location of a Virtual Machine, and that virtual machine has a VPN connection? What kind of VPN is it? MPLS VPN, SSL VPN, IPSec VPN, or???
-
Socios Socials about 13 yearsYes I have a VM and it is behind a VPN, IPSec VPN.
-
Mike Pennington about 13 yearsIf you can disconnect the ipsec vpn and still get to the machine, then disconnect the vpn, set up a traceroute, and you will have the real ip path info... if you can't get to the machine when you disconnect the vpn, then there isn't much you can do to find this info other than asking your VM provider.
-
Socios Socials about 13 yearsthank you very much. It is the second case where I can not disconnect from the VPN. As for asking the provider that exactly is the issue ... I want to double check that the provider is telling me the truth about the location.
-
Don-Pierre Halfaway over 2 yearsIt appears the VPN becomes the gateway, and yes DNS matters. However there is original metadata created... how to dissect that meta data is here: youtube.com/watch?v=JgeACFbUjZE