LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-11-2006, 10:01 AM   #1
kscott121
Member
 
Registered: Jul 2003
Location: NC
Distribution: Fedora,Mepis,Debian
Posts: 84

Rep: Reputation: 15
"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
cnn.com myserver/index.html
whatever.com myserver/index.html
myserver:8081 myserver/management.html
cnn.com:8081 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
 
Old 07-11-2006, 12:41 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
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.
 
  


Reply

Tags
networking, simulation, standalone


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
re "cant connect to internet using suse10" and "will this work?" beejayess Linux - Newbie 12 07-11-2006 02:16 PM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM
Question about this line "Couldn't load %s: %s\n" what does %s stand for? RHLinuxGUY Programming 3 04-16-2006 03:29 AM
reciving a wireless "a" internet connection... and sending it out as "g" pengu Linux - Wireless Networking 0 03-28-2006 10:50 PM
What is the meaning of "/stand"? whepin *BSD 2 04-28-2005 06:44 AM


All times are GMT -5. The time now is 02:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration