iptables -t nat -D PREROUTING -s 192.168.1.108 -i wlan0 -p tcp --dport 554 -j DNAT --to-destination 10.7.36.221:554
iptables -t nat -D POSTROUTING -p tcp -d 10.7.36.221 --dport 554 -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -s 192.168.1.108 -i wlan0 -p tcp --dport 554 -j DNAT --to-destination 10.7.36.221:554
iptables -t nat -A POSTROUTING -p tcp -d 10.7.36.221 --dport 554 -o eth0 -j MASQUERADE
iptables用法简介
iptables深入解析-filter篇
IPTABLES百科
Linux系统中使用iptables实现nat地址转换
超级详细的iptables介绍
9个常用iptables配置实例
iptables实现网卡包转发 - 风之子的日志
本文暂时没有评论,来添加一个吧(●'◡'●)