[squid-users] Transparent Proxy iptables rules - Help needed

This is a discussion on [squid-users] Transparent Proxy iptables rules - Help needed within the Squid Users forums, part of the Web Server and Related Forums category; Hello, This is more of an iptables issue, but to get transparent proxy working you need iptables. Here is what ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2004
Roy Walker
 
Posts: n/a
Default [squid-users] Transparent Proxy iptables rules - Help needed

Hello,

This is more of an iptables issue, but to get transparent proxy working
you need iptables.

Here is what I am trying to do:

/sbin/iptables -t nat -A SQUID -i eth0 -p tcp -d !
64.123.34.32/255.255.255.248 --dport 80 -j REDIRECT --to-port 800 -o
eth1

If I take the -o off the rule works fine. However, only want traffic
from eth0 and destined out eth1 to be proxied except when it is destined
for the network specified by the -d. Anyone have any idea what is not
right with that?

Versions:
Kernel 2.4.25
Squid 2.5-stable
Iptables 1.2.9

Thanx,
Roy
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0