⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.200
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
iptables
/
html
/
View File Name :
NAT-HOWTO-3.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.73"> <TITLE>Linux 2.4 NAT HOWTO: The Two Types of NAT</TITLE> <LINK HREF="NAT-HOWTO-4.html" REL=next> <LINK HREF="NAT-HOWTO-2.html" REL=previous> <LINK HREF="NAT-HOWTO.html#toc3" REL=contents> </HEAD> <BODY> <A HREF="NAT-HOWTO-4.html">Next</A> <A HREF="NAT-HOWTO-2.html">Previous</A> <A HREF="NAT-HOWTO.html#toc3">Contents</A> <HR> <H2><A NAME="s3">3.</A> <A HREF="NAT-HOWTO.html#toc3">The Two Types of NAT</A></H2> <P>I divide NAT into two different types: <B>Source NAT</B> (SNAT) and <B>Destination NAT</B> (DNAT).</P> <P>Source NAT is when you alter the source address of the first packet: i.e. 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.</P> <P>Destination NAT is when you alter the destination address of the first packet: i.e. you are changing where the connection is going to. Destination NAT is always done before routing, when the packet first comes off the wire. Port forwarding, load sharing, and transparent proxying are all forms of DNAT.</P> <HR> <A HREF="NAT-HOWTO-4.html">Next</A> <A HREF="NAT-HOWTO-2.html">Previous</A> <A HREF="NAT-HOWTO.html#toc3">Contents</A> </BODY> </HTML>