LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-13-2004, 06:05 AM   #1
pakuson
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Rep: Reputation: 0
Proxy Setting


Dear Gurus,

I have Linux Squid Proxy server. It is blocked for all sites but allow only one or two sites like http://www.rediffmail.com & http://www.hotmail.com.

I assign DNS address in my all user computer.

When i remove Proxy setting from Internet Explorer or other Browser, at that time they are able to access internet ( all sites ).

How can i protect it??

DNS address is required for mail communication.

Thanking you

Regards

Pranav
 
Old 08-13-2004, 07:50 AM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
In you need a firewall like iptables on the server connecting the lan to the internet and block all port 80

below is a description of squid iptables installation (squid uses port 3128 )

http://www.brandonhutchinson.com/squ..._firewall.html
 
Old 08-13-2004, 07:54 AM   #3
jymbo
Member
 
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
You need to configure your Squid box to be transparent.

Since you already have a working Squid configuration, all you need to do is follow steps 4 & 5 from this article:

Transparent Proxy With Squid

...but this is assuming 2 things:

1.) Your Squid box is on the default gateway itself...if not; if your Squid box is on a DMZ, then follow steps 4 & 6 instead.
2.) You are using iptables on the default gateway

You might also wish to configure the default gateway to block all OUTGOING requests on port 8080 and port 3128...this way, you users can't cheat and use an external proxy.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems setting up my proxy Ruben2 Linux - Networking 12 07-07-2005 06:07 AM
Proxy setting in Mandrake? catastrophic Linux - Networking 0 08-10-2004 05:10 AM
Setting up Proxy on fedora or RH 9.0 mikepg Linux - Networking 1 04-21-2004 10:14 AM
setting proxy precioso77 Linux - Networking 1 09-14-2003 08:22 AM
setting up proxy Nokturnity Linux - Networking 3 07-23-2003 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration