On Thu, 22 Feb 2001, Advantis wrote:

>   Cine-mi explica shi mie care e diferentza dintre NAT shi MASQ?
http://netfilter.kernelnotes.org/unreliable-guides/NAT-HOWTO/NAT-HOWTO.linuxdoc-3.html


I divide NAT into two different types: Source NAT (SNAT) and Destination NAT
(DNAT). 

Source NAT is when you alter the source address of the first packet: ie. you are 
changing where the connection is coming from. Source NAT is always done 
post-routing, just before the packet goes out onto the wire. Masquerading is a
specialized form of SNAT. 

Destination NAT is when you alter the destination address of the first 
packet: ie. you are changing where the connection is going to. Destination NAT 
is always done pre-routing, when the packet first comes off the wire. Port 
forwarding, load sharing, and transparent proxying are all forms of DNAT. 



/me mare amator de citit doace scrise de Rusty. Simplu, clar, la obiect.

-- 
Paranoia este starea fireasca a mintii.



Reply via email to