Voila ce que j'utilise pour le routage nat (ip dynamique) :
iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE
(man iptables)
SNAT
This target is only valid in the nat table, in the POSTROUTING chain.
It specifies that the source address of the packet should be modified
(and all future packets in this connection will also be mangled), and
rules should cease being examined.
Mais pourquoi utilises-tu cette option?
Le mer 02/10/2002 � 16:46, De Leeuw Guy a �crit :
> Salut,
>
> la commande : iptables -t nat -A POSTROUTING -o ppp0 -J SNAT --to-source
> <adresse ip>
> fonctionne si on a une adresse ip fixe.
> comment faire avec une adresse ip dynamic ?
>
> Guy
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com"