domains on linux

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Thu Oct 23 14:52:31 UTC 2003


JoeHill hit the nail on the head. A little more on the networking side 
though... The routing from the Rogers IP to your internal IP is called 
Static NAT (Network Address Translation) and when you forward just a 
single port such as port 80 to an internal IP that is called Port 
Forwarding.

Depending on what router you have you may have to do this differently 
but as Joe said, your manual should tell you how. Most entry-level home 
routers will probably have somewhere in the advanced section a place 
that will allow you to choose either an IP to enter as a "DMZ" 
(De-Militarized Zone) and another section to enter first and last Port 
numbers and destination IP and (sometimes) a port range for that IP.

If you enter an internal IP into the DMZ then ANY requests made to your 
Rogers IP will automatically be passed the the machine with the internal 
IP address you enter. This has the benefit of simplifying the routing 
but has the downside in that now ALL ports of your server are exposed. 
This means specifically that you will want to setup an IPTables firewall 
to black all the ports except the ones for the services you are offering 
(ie. 22 for SSH, 80 for web, etc).

If you setup port forwarding that you can actually route requests to 
more than one machine so long as you don't try to use the same port 
twice. For example, you might want to have requests coming into your 
Rogers account on port 22 to be forwarded to your desktop computer while 
having requests on port 80 go to your web server. The downside of this 
method is that most small routers will max out at about 10 
port-forwardiing entries so what you can open is limited. The other 
benefit is that it is up to the router to block all the other ports.

HTH

Madison

Fiifi Markin wrote:
> hello,
> i have a router that distributes my internet connection from  rogers 
> cable, i am connected to the router on a dhcp protocol, and i wan to 
> setup a web server for my website. my problem is i know very little a 
> bout networking, i am using internal ip's(192.168.....) for my network, 
> and the address which is comminf from rogers is a 24.64....... how do i 
> setup the domain for the webserver and have my other hosts (cuttently 
> connected to the router ) connect to that domain
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*  
> http://join.msn.com/?page=features/virus
> 
> -- 
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
> 

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list