Does anyone know of a way to do this while behind a router NATing your traffic?
I want to write a program that will determine this address but can't think of a way to do it locally. Assuming I can't ask the router what it's public interface address is and can't go to a site like whatismyip.com, what is left?
Doing a trace route to an external site returns the private interface address from my router (192.168.1.1).
Any good ideas?
I want to write a program that will determine this address but can't think of a way to do it locally. Assuming I can't ask the router what it's public interface address is and can't go to a site like whatismyip.com, what is left?
Doing a trace route to an external site returns the private interface address from my router (192.168.1.1).
Any good ideas?