Transparent Proxy to a Remote Squid Box

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

 



I am running the below scripts for "Transparent Proxy to a Remote Squid Box": -

$IPTABLES -t nat -A PREROUTING -i $cusif -s ! $squid_box -p tcp --dport 80 -j DNAT --to $squid_box:3128
$IPTABLES -t nat -A POSTROUTING -o $cusif -s $cus_net -d $squid_box -j SNAT --to $cus_ip
$IPTABLES -A FORWARD -s $eastin_i001 -d $squid_box -i $cusif -o $cusif -p tcp --dport 3128 -j ACCEPT


If the daemon dies, I need to remove the above three lines. How can I monitor the Squid daemon from the firewall?

Regards,
ro0ot





[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