NAT just works similar to the subtenant problem mentioned above. Every subtenant family represents an IP address in the local net, every subtenant family member represents a port number, the landlords represents a router and the recipient acts as an arbitrary computer in the internet.
iptables -t nat -n -L Please note that it is often used with the -n option, in order to avoid long reverse DNS lookups. It is legal to specify the -Z (zero) option as well, in which case the chain(s) will be atomically listed and zeroed. The exact output is affected by the other arguments given. Linux Howtos: Security -> iptables-tutorial CONFIG_IP_NF_IPTABLES - This option is required if you want do any kind of filtering, masquerading or NAT. It adds the whole iptables identification framework to the kernel. Without this you won't be able to do anything at all with iptables. CONFIG_IP_NF_MATCH_LIMIT - This module isn't exactly required but it's used in the example rc.firewall How to Write iptables Rules for IPv6 - Linux.com Aug 03, 2017 IPTables 1:1 NAT - LinuxQuestions.org
linux - Iptables NAT one-to-one - Stack Overflow
Dec 19, 2011 iptables NAT prerouting rule does not forward the traffic
Dec 28, 2019
NAT just works similar to the subtenant problem mentioned above. Every subtenant family represents an IP address in the local net, every subtenant family member represents a port number, the landlords represents a router and the recipient acts as an arbitrary computer in the internet. Quick-Tip: Linux NAT in Four Steps using iptables