iptables -t nat -A PREROUTING -d 218.108.98.235 -p udp -–dport 68 -j DNAT -–to-destination 10.1.52.206:68
iptables -t nat -A POSTROUTING -d 10.1.52.206 -p udp –-dport 68 -j SNAT -–to 10.1.52.1
service iptables save
iptables -t nat -A PREROUTING -d 218.108.98.235 -p udp -–dport 68 -j DNAT -–to-destination 10.1.52.206:68
iptables -t nat -A POSTROUTING -d 10.1.52.206 -p udp –-dport 68 -j SNAT -–to 10.1.52.1
service iptables save
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com