Re: Netfilter and Squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I usually set Squid up as a transparent proxy, i.e., I use the REDIRECT
> iptables target to redirect any Internet bound traffic on port 80 to
> port 3128 on the same server (and thus to Squid) whereas all other
> traffic just obeys the normal iptables rules - John 

REDIRECT table or chain? Webmin shows me: filter, mangle, and nat.


root@darna:/usr/local/squid/sbin# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     udp  --  anywhere             anywhere           udp 
ACCEPT     icmp --  anywhere             anywhere           
ACCEPT     tcp  --  anywhere             anywhere           tcp spt:http 
ACCEPT     tcp  --  anywhere             anywhere           tcp spt:https 
ACCEPT     tcp  --  anywhere             anywhere           tcp spt:pop3 
ACCEPT     tcp  --  anywhere             anywhere           tcp spt:smtp 
ACCEPT     tcp  --  anywhere             anywhere           tcp dpts:32000:40000

> -- 
> John A. Sullivan III
> Chief Technology Officer
> Nexus Management
> +1 207-985-7880
> john.sullivan@xxxxxxxxxxxxx
> ---
> If you are interested in helping to develop a GPL enterprise class
> VPN/Firewall/Security device management console, please visit
> http://iscs.sourceforge.net 
> 
> 


-- 
+------------------+-----------------------------+
| Cody Harris      | --------------------------- |
| ---------------- | --------------------------- |
+------------------+-------+---------------------+---+
| *Sigh*. No key.                                    |
+----------------------------------------------------+


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux