[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux] ipchains : forwarding vs masquerading
echo "1" >/proc/sys/net/ipv4/ip_forward ?
--
---
Alexandre Dulaunoy
Work : http://www.conostix.com/ adulau@conostix.com
Private : http://www.thinkingsecure.com/ adulau@thinkingsecure.com
"Liberty is the great parent of science and of virtue; and a nation will
be great in both in proportion as it is free. " T. Jefferson
On Thu, 6 Sep 2001, Frédéric Badel wrote:
> hello !
>
> j'ai un petit problème avec les règles de forwarding d'ipchains...
>
> à des fin de test, j'ai un petit script qui devrait tout laisser passer :
>
> ipchains -P input ACCEPT
> ipchains -P output ACCEPT
> ipchains -P forward ACCEPT
>
> mais rien n'est forwardé....
>
> par contre, si je fais :
>
> ipchains -P input ACCEPT
> ipchains -P output ACCEPT
> ipchains -P forward MASQ
>
> ben.... ça fonctionne...
> le seul problème, c'est que je ne veut pas masquer les adresses de mon LAN
>
> ou est l'erreur ?
> quelqu'un a-t-il une idée ?
>
> merci d'avance
>
> fred
>
> [ Soyez précis dans vos sujets svp afin de déterminer directement ]
> [ le type de demande... ]
> [ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php ]
> [ Archives de la mailing list: http://archives.unixtech.be/linux/ ]
> [ http://unixtech.be Contact: listmaster@unixtech.be ]
>
[ Soyez précis dans vos sujets svp afin de déterminer directement ]
[ le type de demande... ]
[ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php ]
[ Archives de la mailing list: http://archives.unixtech.be/linux/ ]
[ http://unixtech.be Contact: listmaster@unixtech.be ]