Linux iptables端口转发
# iptables -t nat -A PREROUTING -p udp --dport 314 -j DNAT --to-destination 本机IP:3140
# cp -a /etc/sysconfig/iptables.rules /etc/sysconfig/iptables.rules20230725
# iptables-save > /etc/sysconfig/iptables.rules
# iptables -t nat -A PREROUTING -p udp --dport 314 -j DNAT --to-destination 本机IP:3140
# cp -a /etc/sysconfig/iptables.rules /etc/sysconfig/iptables.rules20230725
# iptables-save > /etc/sysconfig/iptables.rules