[SQU] fighting with parent cache and firewall

From: Jim Selph <jselph@dont-contact.us>
Date: Wed, 13 Sep 2000 11:58:18 -0400

Miroslav,
        Try this
#check ack bit on input if not set then dropped by default rule
/sbin/ipchains -A input -i eth0 -p tcp ! -y -s $ANY 3128 -d $YOU
$UNPRIVPORT -j ACCEPT
/sbin/ipchains -A output -i eth0 -p tcp -s $YOU $UNPRIVPORT -d $ANY 3128 -j
ACCEPT

YOU = your IP
UNPRIVPORT = a range of ports you find acceptable ie 1024:30000
ANY = an IP address of you choice could be 0.0.0.0/0
eth0 or eth1 use your interface to the outside here

hope this helps

James

>Hi!
>Added

>/sbin/ipchains -A input -p UDP --dport 3130 -s <parent ip> -j ACCEPT #let
>parent connect using ICP
>/sbin/ipchains -A input -p TCP --dport 3128 -s <parent ip> -j ACCEPT #let
>parent connect using http

>but still have probs communicating with parent

>Any ideas please?

>Thx

>Miroslav

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Sep 13 2000 - 09:59:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:17 MST