Page 1 of 1

Finding my IP Address

Posted: Mon Oct 24, 2005 4:25 pm
by CptnObvious999
I know this seems like a simple question but I can't figure it out. I am behind a Wireless router (Linksys WRT54G) and I need my global IP address for my computer. When I go to http://www.whatismyip.com it gives me my routers IP Address which I know is my routers because if I run nmap -sS only 2 ports are open: http and https which is for the router administrator control panel. I only have the ipp port open. My local IP is 192.168.1.102 however I think this is only for within my network not for what other people would use to access me. I would like to do a SSH session from my school to my home but I am not sure what IP to use. Can anyone help me out?

Posted: Mon Oct 24, 2005 5:06 pm
by snarkout
You'll need to use your router's WAN IP. You'll have to setup port forwarding -- forward 22 to the internal IP you mentioned.

Posted: Mon Oct 24, 2005 5:48 pm
by CptnObvious999
Thanks it works now.

Posted: Tue Oct 25, 2005 3:28 pm
by CptnObvious999
Got another question relating to networking. I would like to set up DDNS with DynDNS.com but my router is using the http port for its administration control panel so I can't forward it to use my IP. My router has an option to use DynDNS and it successfully routes to my router. I could use alternate port 8080 I think but I want my site to come up when I type the domain without having to specify port 8080. Is there a way to get anything from my dyndns domain to automatically redirected to my computer?

Posted: Wed Oct 26, 2005 9:19 am
by dann
I'm not that familiar with these routers, but isn't access through port 80 to the admin limited to the internal port? The external port has a different address assigned to it. I'm wondering if it would be possible to forward the external port 80 through to your internal network.

I believe Linc has dydns set up this way for his system. Thus, I would have to refer this question to him or another person with more experience on this forum.

Posted: Wed Oct 26, 2005 11:15 am
by Linc
dann wrote:I'm not that familiar with these routers, but isn't access through port 80 to the admin limited to the internal port? The external port has a different address assigned to it. I'm wondering if it would be possible to forward the external port 80 through to your internal network.

I believe Linc has dydns set up this way for his system. Thus, I would have to refer this question to him or another person with more experience on this forum.
I do use dyndns, but I do not use a router. I use a modem, so my ip address to the outside world is actually my second ethernet device on my server machine. I do, however, have to use port 8080, but only because RCN (my provider) blocks port 80.