On Mon, 2002-01-21 at 09:46, Dragos-Traian GEORGESCU wrote:
> 
> /sbin/iptables -A POSTROUTING -t nat -s 192.168.11.2 -d ! 192.168.0.0/16
> -j MASQUERADE
> iptables v1.2.3: host/network `! 192.168.0.0' not found

Ciudat.
Fa upgrade la loc, si incearca sa "ocolesti" problema.

Spre exemplu, il loc sa zici "fa masquerade la tot ce NU e trafic
local", poti zice "fa masquerade la tot ce e trafic extern". Realizezi
asta legind regula de masquerade de interfata externa:

iptables -t nat -A POSTROUTING -s 192.168.11.2 -o ppp0 -j MASQUERADE

Am presupus implicit ca nu ai trafic intre retelele din 192.168 prin
interfata ppp0. Daca nu e adevarat, ghinIon Iliescu.

-- 
Florin Andrei

"Like the music industry nobody in the computer game industry made any
money but mysteriously all the game company owners drove expensive cars
and lived in huge houses." - Alan Cox

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui