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
-- 
No matter how good of a deal you get on computer components, the price will 
always drop immediately after the purchase. 
        -- Murphy's Computer Laws n�7


Reply via email to