github linkedin
Elementary iptables MASQUERADE
  1. echo “1” > /proc/sys/net/ipv4/ip_forward
  2. iptables -t nat -A POSTROUTING -s 10.0.0.0/24 ! -d 10.20.0.0/24 -j MASQUERADE