LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1082|回复: 3

httpd 外网不能访问,内网可以,求助~~

[复制链接]
发表于 2005-7-17 17:39:05 | 显示全部楼层 |阅读模式
内网可以访问HTTP & FTP,外网只能访问FTP,访问不了HTTP~
 楼主| 发表于 2005-7-17 17:44:44 | 显示全部楼层
我的IPTABLES
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp-data
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB
LISHED
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:10000

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-17 20:58:26 | 显示全部楼层
我在机子上,装了一个Webmin,跟这个有关吗?~
回复 支持 反对

使用道具 举报

发表于 2005-7-19 15:25:57 | 显示全部楼层
换个顺序
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT all -- anywhere anywhere state RELATED,ESTAB
LISHED
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表