📅  最后修改于: 2022-03-11 14:59:20.359000             🧑  作者: Mango
sudo iptables -t nat -A PREROUTING -p tcp -m multiport --dports 443,80 -j DNAT --to-destination 192.168.2.4:80
iptables -t nat -A POSTROUTING -j MASQUERADE