Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-13-2004, 05:05 AM   #1
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 &

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


Old 08-13-2004, 06:50 AM   #2
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 )
Old 08-13-2004, 06:54 AM   #3
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.


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 05:07 AM
Proxy setting in Mandrake? catastrophic Linux - Networking 0 08-10-2004 04:10 AM
Setting up Proxy on fedora or RH 9.0 mikepg Linux - Networking 1 04-21-2004 09:14 AM
setting proxy precioso77 Linux - Networking 1 09-14-2003 07:22 AM
setting up proxy Nokturnity Linux - Networking 3 07-23-2003 02:26 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:37 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
Open Source Consulting | Domain Registration