-   Linux - Newbie (
-   -   IP address (

Ab3n 04-04-2005 12:36 PM

IP address
Hey guys,
I was just wondering how I can find the ip address of my computer that others on the internet will see. I've tried various websites like and what not, but they always seem to give me the ip of my router. Any help?

P.S. I am trying to set up a web server with apache, but I cant find the right ip address to direct my domain to.

masand 04-04-2005 12:43 PM



to get the ip adddress of ur various nwtwork interfaces


Mega Man X 04-04-2005 12:43 PM


Mega Man X 04-04-2005 12:44 PM

OOps, masand beats me for 17s :)

Ab3n 04-04-2005 12:45 PM

I am behind a router though, will my domain be able to find that ip across the internet?

masand 04-04-2005 12:52 PM

hi there

what kind of router is it?

i do not have much experience here

but i think if ur router can forwad the request for ur domain to ur machine then it can be done somewhat like NAT


Ab3n 04-04-2005 12:55 PM

its a consumer grade netgear 802.11g router and it gives 193.168.0.x addresses to all my computers attatched to it.

masand 04-04-2005 01:10 PM

as i mentioined above u need to configure NAT on it
i do not know how this can be done on this kind of router


michaelk 04-04-2005 01:43 PM

Read the manual on how to configure the router to foward port 80 to the IP address of your apache server. Your domain will point to the IP address of the router.

jeickal 04-04-2005 02:06 PM

Check out this post

neurotick 04-16-2005 10:52 PM

External IP Address
go here dude
that's your ip

Bruce Hill 08-05-2005 01:55 AM

Or an easier way, via command line

lynx -dump | awk '/Your/ {print $4}'
I'm using a ssh tunnel and Socks 5 proxy, and those other methods, such as the post above this one, only give me the proxy server in another country. But this command gives my actual IP right here. ;)

All times are GMT -5. The time now is 05:35 PM.