LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack 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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 12:18 AM.

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