Does anybody knows the solution if this problem?
If we wrote the ASPX page and send the request to the remote browser the
remote client browser returns the remote machine IP using by this machine on
the remote LAN, but the remote router of this LAN substitutes the LAN
address by the correct external, public one and we receive the correct
public IP of the remote network. I want to get the same IP using the remote
Windows Application, not IE. What format of packet should be to be
recognized by the router to substitute the local IP address by the external
one? The schema is simple
IIP
LIP 192.xxx.xxx.xxx
Internet <=> Router(Firewall, NAT, DNS Server) <=> LAN
<=> Computer
Provider
I need to get the Internet IP, not Local IP, but the request should be sent
to the machine working on the LAN, i.e. knowing only the local LAN address.
We can and should use the Web Service working somewhere on the Internet and
client machine should connect to this remote Web Service returning the
correct IP. That's the main task.
Just D.