c# - Get public ip of router -
i there way determine ip address without resorting remote server validate web request. seems if can trace-route ip's in chain... unsure how validate that.
if it's not possible, make sense not be. makes sense want multiple remote endpoints validate ip, in case 1 compromised.
traceroute
won't help. you'd need traceroute from somewhere out there on internet toward public ip address of nat behind.
there no general way ask nat router public ip address use connections originate. in general there more 1 (e.g. load balanced wan connections).
Comments
Post a Comment