Full NAT

modulename: ip_nat.ko

and/or

iptable_nat.ko

configname: CONFIG_IP_NF_NAT

Linux Kernel Configuration
└─>Networking
└─>Networking options
└─>Network packet filtering (replaces ipchains)
└─>IP: Netfilter Configuration
└─>Full NAT
In linux kernel since version 2.6.12  
The Full NAT option allows masquerading, port forwarding and other
forms of full Network Address Port Translation. It is controlled by
the `nat' table in iptables: see the man page for iptables(8).

To compile it as a module, choose M here. If unsure, say N.

source code: