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
  Search this Thread
Old 09-01-2009, 12:23 PM   #1
gautamnarayan
LQ Newbie
 
Registered: Sep 2008
Posts: 25

Rep: Reputation: 15
Squid proxy with 2 different Ethernet and with 2 different network


Hi,

I am configured a squid proxy with 2 different Ethernet adapter with with network 192.168.8.0/22 and 10.10.10.0/24.

This set up for wired(192.168.8.0/22) network and wireless(10.10.10.0/24) network.Proxy port is 8080 for both

As the work of our organization I need to configure site-blocking and allow specific website for 192.168.8.0/22 network and open internet for with no site-blocking for 10.10.10.0/24 network.

Please advise and help me how to configure with single proxy port 8080.


Thanks and regard.
 
Old 09-01-2009, 06:49 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
You can manage this pretty easily with squid ACLs.

Contrived example:
Code:
acl wireless src 10.10.10.0/24
http_access allow wireless

acl wired src 192.168.8.0/22
acl mysites dstdomain .foo.com
acl mysites dstdomain .bar.com
http_access allow wired mysites
http_access deny wired
That is not a complete ruleset, but should give you some ideas about how to implement this.

Last edited by anomie; 09-01-2009 at 06:51 PM. Reason: made ruleset easier to read.
 
  


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
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 02:16 PM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
Using ISA Server as Parent Proxy and want to setup Squid as dwonstream proxy tauseef1 Red Hat 1 04-09-2008 02:03 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 02:38 AM


All times are GMT -5. The time now is 06:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration