How can I get my external IP address from behind a NAT?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I think it is amazing how complicated some people can make a simple problem with a simple solution.
FYI, I tried whatismyip.org with wget command shown for icanhazip.com. The difference is with icanhazip.com there was a newline after the IP, whereas with whatismyip.org there was not (that's the way the respective servers send it). Either should work fine in a script capture.
I think it is amazing how complicated some people can make a simple problem with a simple solution.
FYI, I tried whatismyip.org with wget command shown for icanhazip.com. The difference is with icanhazip.com there was a newline after the IP, whereas with whatismyip.org there was not (that's the way the respective servers send it). Either should work fine in a script capture.
Sometimes less is more, sometimes more is less. I am the king of all make simple things difficult. BUt it's great way to learn
when the router is forced to use a proxy (transparent proxy) all of the suggested command/script is showing the proxy address . not the router's external ip address.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.