This is a discussion on How to Squid 2.6 transparent proxy? within the Networking, Firewalls and Security forums, part of the Mastering Servers category; How to configure squid 2.6 and how to make it transparent? Thanks, in advance....
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| Sponsored Links | ||
|
|
|
|||
|
This can be done via the following rule.
1. install squid running on your host/gateway 2. setup iptables and ipforwarding 3. use the following rule in your /etc/sysconfig/iptables file. -A PREROUTING -i <your lan interface> -s ! <the IP of your squid host> -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 This will route all web traffic on port 80 to the squid port on your gateway/router host. 4. run service squid restart 5. run service iptables restart should be working nicely, tail -f /var/log/squid.access.log in an xterm run your favourite browser on one of your clients on your lan go to www.google.com, watch the squid log.. Rgds dan |
|
||||
|
|
|
|||
|
Hi,
when you are starting the squid service it may failed because it is looking for the cache dir. to create it run the squid -z command. than restart the squid service by service squid restart or /etc/init.d/squid restart. Thanks. Dinesh |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Outlook with Squid transparent Proxy | bubloob_13 | Networking, Firewalls and Security | 0 | 09-16-2007 02:37 PM |
| Restrict number of simultaneous proxy connections in SQUID proxy | pkvmreddy | Getting started tutorials | 1 | 06-15-2007 03:52 PM |
| transparent squid proxy authentication | chiku | Linux software | 1 | 04-27-2007 04:58 PM |
| Squid proxy authentication in transparent mode howto | charvi | Linux software | 1 | 01-14-2007 12:55 AM |
| Squid Proxy | bubloob_13 | Linux software | 4 | 12-03-2006 11:26 PM |