Configure a Transparent Proxy/Webcache with only one network card ( Squid)

Posted on 2011-09-18
Medium Priority
Last Modified: 2012-05-12

is it possible to configure a transparent proxy/webcache withe only one network card (using squid)???
Question by:cismoney
LVL 10

Assisted Solution

acbxyz earned 668 total points
ID: 36556039
To create a transparent proxy, you need to nat all traffic normally outgoing on port 80 to your squid.
While the squid proxy can only have one nic without a problem, your nat-router or firewall should have more than one. If you have a managed switch which support vlan tagging (ieee 802.1q) you can add as much virtual interfaces with seperate subnets as you want (or whatever your switch supports, usually enough).

Accepted Solution

KOTiS earned 668 total points
ID: 36556041
LVL 81

Assisted Solution

arnold earned 664 total points
ID: 36556385
If you can configure your router to transparently proxy the requests received on port 80 to the squid box while any requests seen comming from the proxy server's IP are allowed to pass through, you can.
cisco uses WCCP for this.
If the squid proxy can not be confirmed using the wccp mechanism, the forwarding will be removed and people will have direct access.

Author Comment

ID: 36557370
do you have the procedure to use squidwith wccp
LVL 81

Expert Comment

ID: 36561432

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question