-   Linux - Networking (
-   -   "stand-alone" internet (

kscott121 07-11-2006 11:01 AM

"stand-alone" internet
I am trying to set up a "stand-alone" internet lab environment where my web server will be on the internet side of a router serving up a training website. The clients will only be able to access those web pages, not the "Real" internet. It would best if users were routed to that web page regardless of whatever internet address they entered (except for server management screens). I'm thinking the following:

Requested website Destination page served up myserver/index.html myserver/index.html
myserver:8081 myserver/management.html myserver/management.html

I'm think maybe appropriate entry(s) in iptables will do this or maybe resolv.conf or is a doctored DNS server the answer?
Is this feasible or is there a better way? Thanks

ramram29 07-11-2006 01:41 PM

You can use iptables to redirect all port 80 to one web page or you can use squid to proxy all requests to one web page. You can use on or the other or you can even use both.

All times are GMT -5. The time now is 12:25 PM.