$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