请问各位,我在我的edgy下编辑了firewall.sh文件,并设置sudo chmod +x firewall.sh
并编辑/etc/rc.local中,加入firewall.sh
firewall.sh内容为:
iptables -F
iptables -X
iptables -P INPUT DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -P OUTPUT ACCEPT
现在在x的登录界面输入用户名密码后系统就停止了。请问如何自动挂载我的iptables脚本啊。
谢谢先。
请教:我的edgy在引入iptables后,无法正常登录
- netware_boy
- 帖子: 12
- 注册时间: 2007-05-15 13:26
-
- 帖子: 333
- 注册时间: 2007-05-13 15:20
- netware_boy
- 帖子: 12
- 注册时间: 2007-05-15 13:26