» Linux »
Examen sur Linux »
Examen 202 : Networking Administration »
Section 5 »
Question 21/27
Explanation: The SNAT option used in a POSTROUTING chain is used to specify that the source
address of the packet should be modified. The ‘SNAT --to –source 10.0.0.10’ option specifies that
the source address of all outgoing packets will be changed to 10.0.0.10.
Reference: http://www.linuxguruz.org/iptables/howto/maniptables.html
Incorrect Answers
A: MASQUERADE should only be used with dynamically assigned IP (dialup) connections: if you have a static IP address, you should use the SNAT option.
C: SNAT can only be used in a POSTROUTING chain.
D: MASQUERADE can only be used in a POSTROUTING chain.