文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>iptables的端口转发

iptables的端口转发

时间:2010-04-07  来源:zbhdpx

iptables的端口转发:   echo 1 >/proc/sys/net/ipv4/ip_forward iptables -F -t nat
iptables -t nat -A PREROUTING -p tcp --dport 29001 -d 223.183.181.212 -j DNAT --to 111.83.161.152:29000  (从本机IP29001端口转发到111.83.161.152的2900端口)
iptables -t nat -A POSTROUTING -j MASQUERADE
  iptables -L -t nat (显示nat转发表规则) iptables -F -t nat (清除nat表规则)  
 
相关阅读 更多 +
排行榜 更多 +
越野战车

越野战车

飞行射击 下载
枪王重生之战

枪王重生之战

飞行射击 下载
防空3d

防空3d

飞行射击 下载