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
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
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 07:40 AM.|