difference between MASQ and SNAT in iptables
why is there the MASQUERADE target at all, if SNAT can do the same thing? it seems both of these rules have the same exact effect:
iptables -t nat -A POSTROUTING -s 1.0.0.0/24 -o eth0 -j MASQUERADE iptables -t nat -A POSTROUTING -s 1.0.0.0/24 -o eth0 -j SNAT --to-source <external ip>
is there any difference?