iptables 端口转发

vi /etc/sysctl.conf找到下面行 //启用数据转发. net.ipv4.ip_forward = 0 改成 net.ipv4.ip_forward = 1 执行如下命令来应用:sysctl -p 或重启 加入iptables规则 ipta...