Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Displaying custom error pages


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
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.


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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 AM.

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