LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2002, 09:58 PM   #1
charliecb2
LQ Newbie
 
Registered: Dec 2001
Location: Philippines
Distribution: Red Hat 7
Posts: 6

Rep: Reputation: 0
Displaying custom error pages


Hi!

My box is set-up to masquerade other pc's to the net. I don't have proxies or the like installed. What I like to do is whenever my box receives www requests from masqueraded pc's, if the pc is not "authorized", it'l display a custom error page in their browser. Where do I begin with this kind of project, anyone? Any input would be greatly appreciated! Thanks in advance!
 
Old 03-09-2002, 07:20 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
You can't do that with masquarading.

Configure the box so it doesn't masquarade port 80 connections (or what ever ports you want to require authorisation for). Then install something like Squid for the authenticated access and set that up as the proxy on the clients.
 
  


Reply



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
browser displaying localhost pages in code howarddevore Ubuntu 4 07-31-2005 08:14 AM
why does yum keep displaying this error linuxmandrake Linux - Software 1 06-24-2005 10:35 AM
xterm: freetype error displaying hypens? prell Linux - Software 1 03-18-2005 08:19 PM
Apache displaying only blank pages? punker22 Linux - Software 4 05-03-2004 04:36 PM
Displaying Packages Error pigimon Linux - Newbie 1 03-08-2003 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration