Security
A Linux router connects the 192.168.1.0/24 LAN to the internet through an interface whose public address is assigned by the ISP through DHCP and changes periodically. LAN clients need outbound access. Which translation type BEST fits?
Show the answer
Correct answerB. Source NAT using the MASQUERADE target
MASQUERADE is source NAT that uses the outgoing interface's current address, so it keeps working when DHCP changes the address. Fixed-address SNAT is tempting, but it would break or need rewriting whenever the public address changes.