Home  >  Q&A  >  body text

iptables - centos 6.5无法上网

网络连接正常,下面是我的iptables配置,大神帮看看有没有问题.谢谢.

# Generated by iptables-save v1.4.7 on Wed Jun 22 19:43:29 2016
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1:52]
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -m state --state ESTABLISHED -j ACCEPT
COMMIT
# Completed on Wed Jun 22 19:43:29 2016
怪我咯怪我咯2732 days ago587

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-04-26 09:03:01

    If you suspect that it is an iptables problem, you can simply run iptables -F to clear the rules, and then you will know whether it is related to iptables

    reply
    0
  • Cancelreply