كيف تتشارك أجهزة عنواناً عاماً واحداً عبر NAT، وما دور البوّابة.
NAT والبوّابات
باختصار
الأهداف
- شرح NAT في جملة
- وصف دور البوّابة
- شرح أثر NAT كجدار حماية
Your home has one public IP address but many devices. NAT (Network Address Translation) is the trick that lets them share it: your router rewrites the private source address on the way out and remembers the mapping so replies come back to the right device.
The gateway is the router that traffic goes through to leave the local network. When a packet is not for the local subnet, it is sent to the gateway, which forwards it onward.
Note
NAT is why you cannot usually connect to a home device from outside — there is no public address for it. This is a side-effect that happens to provide a crude firewall.
للمراجعة
- NAT يعيد كتابة العناوين الخاصة لمشاركة IP عام
- البوّابة تُخرج الحركة من الشبكة المحلية
- NAT يمنع عرَضاً الاتصالات الواردة