How to Get Public IP From LinkSys Router?

Bill Campbell freebsd at celestial.com
Wed Sep 3 14:09:03 PDT 2003


On Wed, Sep 03, 2003, Drew Tomlinson wrote:
>I need to get my public IP address from a LinkSys cable router and don't
>have any idea where to start.  The LinkSys is doing NAT and my FBSD box
>in on the private network on the inside.  What commands and/or ports are
>there that would provide the public IP address from the command line so
>I pass the IP to a script?  Any ideas?

We have set up a server to return this since I got tired of
poking around to find it.  This will return the IP address.

	ssh -l sshclient sshclient.celestial.com

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``During times of universal deceit, telling the truth becomes
a revolutionary act.''  --George Orwell


More information about the freebsd-questions mailing list