Open ip_forward: echo 1> / proc / sys / net / ipv4 / ip_forward or modify /etc/sysctl.conf, plus net.ipv4.ip_forward = 1iptables -t nat -a postrouting -s 192.168.0.0/24 -o eth0 -j snat --to your Eth0 address My Eth1 (connected in the intranet) did not write Broadcast and Gateway two items, I don't know if there is any impact