Skip to main content

IPTables Commands


SNAT

iptables -t nat -A POSTROUTING \
  -d 10.x.x.x/24 \
  -j SNAT --to-source 10.x.x.x