iptables防火墙设置的问题!

由 kemean 在 05-04-2003 23:51 发表:

iptables防火墙设置的问题!

我为了局域网中的机器能够访问我,就改了/etc/sysconfig/iptables,此文件没改之前内容如下:

Firewall configuration written by lokkit

Manual customization of this file is not recommended.

Note: ifup-post will punch the current nameservers through the

firewall; such entries will not be listed here.

*filter

:INPUT ACCEPT [0:0]

:FORWARD ACCEPT [0:0]

:OUTPUT ACCEPT [0:0]

:RH-Lokkit-0-50-INPUT - [0:0]

-A INPUT -j RH-Lokkit-0-50-INPUT

-A FORWARD -j RH-Lokkit-0-50-INPUT

-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT

-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT

-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT

COMMIT

我将其修改成:

Firewall configuration written by lokkit

Manual customization of this file is not recommended.

Note: ifup-post will punch the current nameservers through the

firewall; such entries will not be listed here.

*filter

:INPUT ACCEPT [0:0]

:FORWARD ACCEPT [0:0]

:OUTPUT ACCEPT [0:0]

COMMIT

重启之后,在Starting Sendmain那里就等了很久,特慢,所以我又重设了防火墙,使其跟开始时一样了,但是再重启的时候,还是在Starting Sendmail那里,奇慢无比,请问该怎么解决?


由 pys 在 05-05

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus