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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a cable modem (dynamic IP) a

Status
Not open for further replies.

redss

Programmer
Oct 20, 2002
195
I have a cable modem (dynamic IP) and belken 4 port router. My internal IP of 1 of my 4 computers (running apache) is 192.168.2.6. What settings can I change in the router to enable that computer to be seen on the internet? I think I have to change some settings in either the DMZ, virtual server, NAT, or special application ports.

Can anyone help get me on the right track? thanks...
 
Before you need to do anything you need to find a way of making your connection look static and since you have no control over your IP assignment you need to either get a static IP from your ISP or use dynamic DNS which is free for one user in most cases ( once you got that out of the way you need to go back to your router manaul and figure out how to enable nat/pat.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don't be content with being average. Average is as close to the bottom as it is to the top
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Thanks for your response. I'm confused... I thought a dynamic IP only made it impractical for me to assign a domain name to my "temporary" IP in the DNS... Even though my IP is dynamic, it goes many days or more without changing, since my router apparently keeps ahold of it. (my understanding)

If I know my IP today, can't I give somebody my 4-octet IP address so they can access my web server? I want them to test some perl/mysql before transferring it to a paid host.

 
Dynamic DNS is a very cheap way of having what looks like a static IP, what happens is you register with someone like and you download a client needs to be installed onto your server, the client monitors your IP and whenever your IP changes it updates your DNS and in theory you should be able to reach your server regardless of how often the IP changes.

You can give your real IP to someone and they should be able to reach your server providing that the IP didn't change in the mean time. You also need to make sure that you set up NAT on your router so that when someone hits your router on port 80 the router forwards that request to the appropriate server.

Cable modem ----------> Router (with NAT)---------> Web server



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don't be content with being average. Average is as close to the bottom as it is to the top
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
For access to the webserver - depends on the facilities of the router.

If it has a DMZ port, you can put the webserver on that which will still keep the other machines on a seperate protected subnet from that too in the case it is compromised.

As you have just the one public IP address, you'll need to 'port forward' connections to the http port (80) on the public interface to the interface of the webserver (whether it is in a DMZ or the private subnet). Unless the router has some kind of proxy which you can use instead - though I doubt a domestic unit will have this.
 
Dynamic DNS is just that.... If you signed up with dyndns.org or cjb.net then it will forward mydomain.dyndns.org to your IP... If your IP changes you can manually change it... There are many programs out there that detect the IP change and will update the DNS server automatically...

DynDNS has a good FAQ on it if you need further info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top