摘要: iptables 端口映射 [Linux] post by Johnson / 2010-8-30 9:25 Monday 一、环境和要实现功能 PC1的网络设置如下: eth0 192.168.0.29 内网 eth1 219.239.11.22 外网 PC2的网络设置则为:192.168.0.21 内网 我们要实现的功能就是将PC1的8080端口映射到PC2的80端口,也即访问http://219.239.11.22:8080即可访问到PC2上的WEB服务。 二、实现步骤 ... 阅读全文
posted @ 2012-05-11 10:02 规格严格-功夫到家 阅读(253) 评论(0) 推荐(0)
摘要: linux下iptables实战 2010-01-04 01:34 环境: centos5.1 http://hi.baidu.com/xiutuo/blog ------------------------------------------------------------------------------ 防火墙启动关闭重启 # service iptables stop | start | restart 保存所以规则到/etc/sysconfig/iptables # service iptables save 相当于清空所以规则 # service iptables ... 阅读全文
posted @ 2012-05-11 09:30 规格严格-功夫到家 阅读(341) 评论(0) 推荐(0)