发布时间:2016-04-19 19:10:53
1、修改vim /etc/sysctl.conf 将net.ipv4.ip_forward = 0 的值改为net.ipv4.ip_forward = 1 执行sysctl -p 生效2、执行 iptables -t nat -I PREROUTING -s 222.222.46.204/32 -p udp --dport 30001 -j DNAT --to-destination 222.222.46.204 //增加udp转发规则 iptable.........【阅读全文】