博客
关于我
CentOS 关闭防火墙命令与 注意事项
阅读量:192 次
发布时间:2019-02-28

本文共 822 字,大约阅读时间需要 2 分钟。

CentOS 6?CentOS 7?????????????

?????????????????????????????????????????????????????????????CentOS?????????????????????????

??????????CentOS 6?CentOS 7???????????????????????????????????????????????????????????????????

??????????????????

CentOS 6??????

  • ??????????????

    • ???chkconfig iptables on
    • ???chkconfig iptables off
  • ????????????

    • ???service iptables start
    • ???service iptables stop
  • CentOS 7??????

  • ?????????

    • ???systemctl start firewalld.service
    • ???systemctl stop firewalld.service
    • ???????systemctl disable firewalld.service
  • ????????

    • ??TCP?????netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
    • ?????????netstat -anp | grep portno????netstat ?apn | grep 80?
  • ??????????CentOS 7???????????????CentOS 6?iptables?????????????????????????????????

    ?????????CentOS????????????????????????????????????????????????

    转载地址:http://oafn.baihongyu.com/

    你可能感兴趣的文章
    python中del函数的垃圾回收
    查看>>
    Python中DrissionPage的详细解析与实战
    查看>>
    python中enumerate、变量类型转换
    查看>>
    python中execute是啥_python – 为什么“c.execute(…)”打破循环?
    查看>>
    python中exit和break区别_Python中exit()和sys.exit()之间的区别
    查看>>
    python中h5的用法
    查看>>
    python中http协议编程_HTTP编程
    查看>>
    python中if的效率_python中关于if-else使用性能的一点感悟
    查看>>
    python中import os_Python:相对导入与绝对导入(import)、os.path、__file__
    查看>>
    python中is和==操作符
    查看>>
    python中range()函数的返回值是多少?
    查看>>
    Python中range对象的使用以及打印九九乘法表
    查看>>
    Python中reshape函数参数-1的意思?
    查看>>
    Python中set.discard和set.remove方法之间的运行时差异?
    查看>>
    Python接口自动化测试企业级实战
    查看>>
    python中tkinter中value_输入字段中的python Tkinter get()值
    查看>>
    Python中wx.FlexGridSizer
    查看>>
    Python中xPath技术和BeautifulSoup的使用
    查看>>
    python中yield的用法详解——最简单,最清晰的解释
    查看>>
    python中‘set.intersection()‘的算法是什么?
    查看>>