- 积分
- 10
- 威望
-
- 金钱
-
- 注册时间
- 2012-6-16
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
# 允许已建立的或相关连的通行
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
通过ssh 运行此命令时 提示 :【在网上搜了一下,有人说是:openvz 没有把 MASQ 模块虚拟化 】不明白 求解
# iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables: No chain/target/match by that name.
还有这个:#service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found [FAILED]
#service iptables status
Table: mangle
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
请问是什么原因 谢谢
[ 本帖最后由 fastbits 于 2012-6-28 17:05 编辑 ] |
|