ipchains redirecting

Craig White plug-discuss@lists.plug.phoenix.az.us
15 Jun 2002 18:53:37 -0700


specifically reject everything on the internal interface except for that
you want to all (your proxy server)

/sbin/ipchains -A input -j ACCEPT -i $INTIF -p tcp -s 0.0.0.0/0 -d \
$INTIP proxy_server_port

/sbin/ipchains -A input -j REJECT -i $INTIF -s 0.0.0.0/0 -d \
$INTIP

RH 7.2, you should be using iptables instead of ipchains. it's a 2.4
kernel.

Craig

On Sat, 2002-06-15 at 18:35, Sundar Narayanasamy wrote:
> Hello,
> 
> I want to force the users on my network to go through my proxy server. What 
> are the ipchains rules I should add.
> 
> I am using Redhat 7.2 and squid proxy.
> 
> Cheers!
> Sundar
> 
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> 
> PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss