How to get my external IP address (over NAT) from the Windows command-line?
- by Diogo Rocha
The Windows "ipconfig" command can only show me the parameters from the Ethernet interfaces from my machine (even with the "ipconfig /all" argument). It can show detailed information about the interface, but it will never show me my external IP address over a NAT network.
However, there are several websites, such as "What is my IP address" that can get and show my external IP address. So I'm wondering, is possible to get this value externally? Should I expect that there is some way to get this information from a command line at my local machine...
I need to get this value to log on an application that I'm doing with VBScript. There is some way to do this, from a "cmd" on Windows?