Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ip forwarding, from public to private ip how to?

Status
Not open for further replies.

shanenewbe

Technical User
May 19, 2005
16
GB
Hi all, i am trying to host my own web site from home, i am running windows 2k pro, i connect to the internet using a bt voyager 205 router. i am using IIS and can view my local index.html page. so i have setup a static dns with dyndns but it is only picking up my public ip address from the router, how can i get it to see my private ip, if that is the right way about it?

Please help i was up all night reading on the net and found a lot of jargon that just confused me. please help. i have never done this before so go easy on me.

many thanks in advance.
shane
 
I'd see if the router can do port forwarding - essentially the router listens on the set port (in this case 80/tcp) and forwards it to the inside address/port.

I'm not familiar with that router, but, if you can get to the configuration page, this is the best place to start.
 
You never want to publish your private IP address because it is not routable on the Internet. All RFC 1918 addresses are unroutable.

You do want to set up port forwarding as phannah has suggested. That way when someone connects to your public IP address, port 80 (http), the connection will be NAT'd and forwarded to your private IP address at port 80.

It is generally a table-based input form that has a "source port," "destination IP," and a "destination port." You are statically assigning port 80 on the external address to the internal IP address, also at port 80 (unless you'd rather use some other port).

Also, you should know that some ISPs will block incoming connections to http, smtp, pop, ssh and other common ports. In those cases you must choose an uncommon port number for your source port, and make sure that links refer to the non-standard port number.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top