iptables -t nat -A POSTROUTING -s 内网IP -o eth0 -j SNAT –to 外网IP
iptables -t nat -A PREROUTING -i eth0 -d 外网IP -j DNAT –to 内网IP
Linux用IPTables命令将多公网IP映射到不同内网IP
猜你喜欢
转载自sech.iteye.com/blog/1213820
今日推荐
周排行