Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I appreciated Jeremy Garcia's article in Linux Magazine entitled "Transparent Proxying with Squid". I have been trying to implement a Transparent Proxy with squid. I am running a Gentoo box running Linux v2.6.11 with Squid v2.5.9. The Gentoo box has a single network interface (IP 192.168.200.200) which I hope to be a transparent proxy for a Cisco router (IOS: v12.3 Internal IP: 192.168.200.1 External IP: X.X.X.X). If I manually set the proxy IP address of a client PC browser to the IP of squid, it works fine -- access.log/cache.log report proper results. If however, I unset the proxy IP in my client browser, the request times out. I do see GRE messages on squid and if I stop the squid services (once the router detects that squid is down) the request goes through. I believe I have followed Jeremy's instructions correctly (although I have not installed a the module ip_wccp because I believe this is not necessary because I am running kernel 2.6.11). From the output of a few commands I am sending, it looks like this should be working. No entries appear in my access.log file (however) the squid box is seeing the request, it just does not appear to be acting on it.
show ip wccp on router
Router Identifier: 192.168.200.1
Protocol Version: 1.0
Service Identifier: web-cache
Number of Cache Engines: 1
Number of routers: 1
Total Packets Redirected: 704
Redirect access-list: 112
Total Packets Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: -none-
Total Messages Denied to Group: 0
Total Authentication failures: 0
Snip from router config
ip wccp version 1
ip wccp web-cache redirect-list 112
ip address X.X.X.X 255.255.255.0 ip wccp web-cache redirect out ip nat outside ip virtual-reassembly duplex auto speed auto !
A transparent proxy is an internal loopback with a specific port- typically 1080/8080 for the internal proxy- with forwarding on 80. It's just a setting in /etc/squid/squid.conf. Read up on squid first and understand what you are doing.