Source NAT ای پی ادرس مبدا پکت را درIP header پکت تغییر میدهد. (گاهی اوقات پورت مبدا را نیز در TCP UDP Header پکت تغییر می دهد.) عمده استفاده از SNAT به منظور تغییر Private IP (یا پورت) به Public IP (یا پورت) برای خروج از شبکه داخلی (لوکال) است.
Source NAT is the translation of the source IP address of a packet leaving the Juniper Networks device. Source NAT is used to allow hosts with private IP addresses to access a public network.
Source NAT is typically used by internal users to access the internet
Masquerading که عمدتا در دیوایس های لینوکس بیس موجود است نوعی از همان SNAT است با این تفاوت که آی پی آدرس مقصد متغیر است (DHCP or Dialup) در Masquerading آی پی آدرس اینترفیس خروجی را روی هر پکت به عنوان آی پی مقصد قرار می دهد (این آی پی متغیر می باشد) اگر اینترفیس خروجی شما آی پی استاتیک دارد نیازی به استفاده از Masquerading نیست و شما می توانید از همان SNAT استفاده کنید.
A Linux networking function. IP Masquerade, also called IPMASQ or MASQ, allows one or more computers in a network without assigned IP addresses to communicate with the Internet using the Linux server’s assigned IP address.
It is basically a method for allowing a computer that doesn’t have a public Internet wide IP address communicate with other computers on the Internet with the help of another computer sitting in between it and the Internet.
masquerade نوعی snat می باشد.
از SNAT جهت اتصال دستگاه های داخل شبکه ( لوکال ) به بیرون ( اینترنت ) استفاده می شود.
از DNAT جهت اتصال به دستگاه های داخل شبکه ( لوکال ) از بیرون ( اینترنت ) استفاده می شود.