Re: Q. How to configure transparency proxy with Redhat Linux??

From: fooler <fooler@dont-contact.us>
Date: Fri, 28 Jan 2000 17:43:51 +0800

Ahsan Khan wrote:

> > >
> > >in /etc/rc.d/rc.local file:
> > >
> > > /sbin/ipchains -A input -p tcp -d 127.0.0.1 80 -j ACCEPT
> > > /sbin/ipchains -A input -p tcp -d <ip_address_of_your_server>
> 80 -j
> > >ACCEPT
>
> no the network calss u are using, i just worte that and if u use /0 its mean
> whole calss.
>

what???!!!!

in your example:

> > > /sbin/ipchains -A input -p TCP -d 127.0.0.1/24 www -j ACCEPT
> > > /sbin/ipchains -A input -p TCP -d 209.58.78.10/24 8080 -j ACCEPT
> > > /sbin/ipchains -A input -p TCP -d 209.58.78.10/24 www -j ACCEPT

take a closer look at 127.0.0.1 and 209.58.78.10, you mask it with /24, you cant
do that to a _host_ ip address.

fooler.
Received on Fri Jan 28 2000 - 02:39:43 MST

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