Yann Forget wrote:
> Hi,
>
> lee binkley a �crit :
> >
> > Al Smith wrote:
> >
> > > Yes it is possible if you use IP masquarding and such.
> > >
> > > -Al
> >
> > I will nedd 2 nic .
> > so in my /etc/rc.d/rc.local
> > ipchains -P foward DENY
> > ipchains -A foward -i eth1 -j MASQ
> > echo 1 >/proc/sys/net/ipv4/ip_foward
>
> Yes, but in that order :
>
> echo 1 >/proc/sys/net/ipv4/ip_foward
> ipchains -P foward DENY
> ipchains -A foward -i eth1 -j MASQ
>
> Regards,
> Yann
>
> --
> Ionix Services, les services r�seaux d'aujourd'hui
> http://www.ionix-services.com/
> Tel 04 76 70 64 24
> Fax 04 76 70 64 25
I only had to type echo 1 >/proc/sys/net/ipv4/ip_foward once from the
command line - the system saves that instruction into the
/etc/sysconfig/network file, so you only need the two ipchains
instruction in /etc/rc.d/rc.local