由 iswind 在 06-26-2004 14:15 发表:
求救:iptables的奇怪问题。
os:redhat9
只开了ssh和vsftpd,我没开iptables,也没有设iptables规则,在本机nmap localhost能看到21和22端口是open的,但我在另一个地方(和这台机不是同一个IP)nmap XXX.XXX.XXX.XXX看到的是只有22端口是open的,其它都是filter了,求救啊。。。。
我也试了用
for TABLE in filter nat mangle ; do
iptables -t $TABLE -F
iptables -t $TABLE -X
done
删除规则,在本机用iptables -L看到的是:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
但就是在别的地方看到21被filter了。。。。。
哪位大哥帮帮忙啊!!!
hello,I am wind.
由 smile787 在 06-26-2004 14:54 发表:
nmap -v ip
http://www.linuxsir.com/bbs/showthr...;highlight=nmap
由 iswind 在 06-26-2004 15:17 发表:
如下
这只是nmap 的用法啊!!
现在是我的iptables问题。。。
我没有设iptables规则,但21被filter.
可以在本机nmap -v localhost,21又是open的。
hello,I am wind.
由 smile787 在 06-26-2004 15:25 发表:
兄弟的iptales没有问题!考虑其他问题,,,
由 seablue 在 06-26-2004 16:44 发表:
是否被别的地方给filter了?
清风秋月黑白子,
解语生香共婵娟。
由 Snoopy 在 06-26-2004 17:33 发表:
ftp应该是被映射过了吧 ?
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 smile787 在 06-26-2004 18:00 发表:
网络环境怎么样。在同一个局域测试过不?
由 faint 在 06-26-2004 18:02 发表:
Debian的情况的确是这样。不要紧的。其实这个端口并没有开的,如果你本身没有开ftp服务器的话。也有可能是扫描器的问题呢:-)
由 iswind 在 06-28-2004 15:38 发表:
> quote:
>
> * * *
>
> 最初由 smile787 发表
>
> 兄弟的iptales没有问题!考虑其他问题,,,
>
> * * *
谢谢这么多人回复,好像是其它问