LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   internal IP based web server. (https://www.linuxquestions.org/questions/linux-newbie-8/internal-ip-based-web-server-112305/)

tusher 11-04-2003 12:06 PM

internal IP based web server.
 
Hello guys,

well, this might be a stupidic question, but i need to know for implementing security at my network. I m planning to keep my web, mail, ftp, server with internal ip. my DNS having external ip and points to those server if some request come form outside ... dns will forward those accordingly to the internal servers.......

will it work ??:confused:

trickykid 11-04-2003 12:17 PM

Sure it should work. But its really not your DNS that will point to your internal IP but rather you need to setup routing tables to route the requests to your internal IP within your LAN. Your DNS needs to point to the actual IP though, then the router forwards the requests internally.

tusher 11-04-2003 12:21 PM

ok, how should i keep my entry at the routing table ??? means...how to edit it ?

regards,

tusher.

trickykid 11-04-2003 12:26 PM

Quote:

Originally posted by tusher
ok, how should i keep my entry at the routing table ??? means...how to edit it ?

regards,

tusher.

What? Not sure what you mean. You'll need to make your DNS server most likely as a router as well, if its connected and sharing the connection from your ISP, etc. Then setup IPTABLES to route the connection and requests, etc.


All times are GMT -5. The time now is 09:02 AM.