LinuxSir.cn,穿越时空的Linuxsir!

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

求助:我的RedHat9.0共享上网老死机。

[复制链接]
发表于 2004-3-9 10:02:52 | 显示全部楼层 |阅读模式
我用的是RedHat9.0做服务器,安装的时候我选的是server版安装,而且主机上还配了Apache,ssh,ssl,smtp/pop,ftp等服务。上网方式是adsl.

共享上网的配置如下:

eth0: 192.168.0.1 255.255.255.0 其他网关,dns等都没配置,此网卡用于连接局域网其他机器

eht1: IP地址和网关,dns等都没配置,此网卡用于ADSL拨号用

客户端的IP地址为:192.168.0.2-192.168.0.254之间的ip地址,子网掩码都是255.255.255.0,网关都指向192.168.0.1,DNS指向192.168.0.1

Ethernet Interface: eth1
User name: username
Activate-on-demand: No
DNS: Do not adjust
Firewalling: MASQUERADE
User Control: yes

/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.
*mangle
REROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
OSTROUTING ACCEPT [0:0]
*nat
REROUTING ACCEPT [0:0]
OSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
[0:0]-A POSTROUTING -o ppp0 -j MASQUERADE
COMMIT
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT

主机和客户机都可以上网了,但问题是,只要客户机打开了网页,用不了多久,主机系统RedHat就没反应了。
哪位能帮忙解决一下吗??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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