On Tuesday 02 July 2002 9:13 pm, Jan Humme wrote:

> Ain't this what masquerading is all about?
>
> # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Are you asking about the difference between MASQUERADE and SNAT ?

If so, the answer's not a lot, except:

1. MASQUERADE checks the address of the interface for each packet it 
translates, therefore it's better for interfaces with dynamic addresses.

2. MASQUERADE checks the address of the interface for each packet it 
translates, therefore it's slightly less efficient for interfaces with static 
addresses.

 

Antony.

Reply via email to