Difference between revisions of "Network address translation (NAT)"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <code>[[iptables -t nat -L]]</code> | * <code>[[iptables -t nat -L]]</code> | ||
+ | |||
+ | * <code>iptables -t nat -A [[POSTROUTING]] -o eth0 -j MASQUERADE</code> | ||
Revision as of 11:32, 22 April 2021
wikipedia:Network address translation is a method of mapping an IP address space into another by modifying network address information in the IP header of packets while they are in transit across a traffic routing device.
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
See also
See also
Advertising: