On 03.31, Guillaume Rousse wrote:
> Le Lundi 31 Mars 2003 01:00, J.A. Magallon a �crit :
> > Bad command is:
> >
> > $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
> > echo " before HERE"
> >
> > that evals to:
> >
> > /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> >
> > Any clue ?
> drop evil gui, and follow masquerading-simple-howto
> http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/index.html
> 
> If you have a static ip
> iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to <your ip there>
> 
> if you use dhcp
> $> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Many things have changed in -pre6 wrt iptables. A rebuild against
the new kernel made it work again (warning for mantainers...)

Thanks to everybody.

-- 
J.A. Magallon <[EMAIL PROTECTED]>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Bamboo) for i586
Linux 2.4.21-pre6-jam1 (gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk))

Reply via email to