全球主机交流论坛

标题: vr.org的鸡鸡,每次重启都各种打不开 [打印本页]

作者: dalky    时间: 2012-3-20 22:10
标题: vr.org的鸡鸡,每次重启都各种打不开
本帖最后由 dalky 于 2012-3-20 22:23 编辑

用的军哥的lnmp
都要iptables -F才行
有终极解决办法没

每次重启都还原成这样


  1. Chain INPUT (policy ACCEPT)
  2. target     prot opt source               destination
  3. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,                                  ESTABLISHED
  4. ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0
  5. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
  6. ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp                                   dpt:22
  7. REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with ic                                  mp-host-prohibited

  8. Chain FORWARD (policy ACCEPT)
  9. target     prot opt source               destination
  10. REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with ic                                  mp-host-prohibited

  11. Chain OUTPUT (policy ACCEPT)
  12. target     prot opt source               destination
复制代码

作者: xspoco    时间: 2012-3-20 22:10
换vps
作者: Administrator    时间: 2012-3-20 22:11
提示: 作者被禁止或删除 内容自动屏蔽
作者: cquyf    时间: 2012-3-20 22:12
学习了
作者: xeroncool    时间: 2012-3-20 22:16
学习一下
作者: dalky    时间: 2012-3-20 22:19
Administrator 发表于 2012-3-20 22:11
iptables -F
iptables-save

A大
我执行了,重启还是一样需要-F……咋整
作者: UCVPS    时间: 2012-3-20 22:21
iptables -F
iptables -X
iptables -Z

service iptables save
service iptables restart
作者: dalky    时间: 2012-3-20 22:22
每次重启都还原成这样

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,                                  ESTABLISHED
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp                                   dpt:22
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with ic                                  mp-host-prohibited

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with ic                                  mp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

作者: dalky    时间: 2012-3-20 22:33
按ucvps的解决问题




欢迎光临 全球主机交流论坛 (https://loc.528866.xyz/) Powered by Discuz! X3.4