红联Linux门户
Linux帮助

redhat 5.3防火墙配置规则问题

发布时间:2010-05-03 11:13:48来源:红联作者:shengcheng
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP tcp -- localhost.localdomain localhost.localdomain tcp dpt:ssh state NEW
RH-Firewall-1-INPUT all -- anywhere anywhere
DROP tcp -- 192.168.1.25 localhost.localdomain tcp dpt:ssh state NEW

说明:rehdat装在虚拟机里 ip 192.168.1.57 真是主机(windows) ip 192.168.1.25

问题:能够在widows用securecrt连接到redhat(本意不能连到redhat).于是,加了第一条让它不能自己连自己,结果还是失败了。

不知道原因是什么!
文章评论

共有 3 条评论

  1. blue7590 于 2010-05-19 14:26:15发表:

    source和destination有问题?

  2. 绿色圣光 于 2010-05-03 16:25:31发表:

    对虚拟机不了解……

  3. shengcheng 于 2010-05-03 11:15:42发表:

    忘了说。redhat能连到广域网,难道是这个原因!