vim /etc/sysctl.conf net.ipv4.ip_forward=1 echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 60022 -j DNAT --to-destination F.GFW.I.P:22 iptables -t nat -A POSTROUTING -j MASQUERADE |
vim /etc/sysctl.conf net.ipv4.ip_forward=1 echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 60022 -j DNAT --to-destination F.GFW.I.P:22 iptables -t nat -A POSTROUTING -j MASQUERADE |