博客
关于我
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/

    你可能感兴趣的文章
    Objective-C实现trial Division试除法算法(附完整源码)
    查看>>
    Objective-C实现Tribonacci Number特里波纳契数算法(附完整源码)
    查看>>
    Objective-C实现Trie字典树算法(附完整源码)
    查看>>
    Objective-C实现Trie段树算法(附完整源码)
    查看>>
    Objective-C实现Trim函数功能(附完整源码)
    查看>>
    Objective-C实现triplet sum三元组和算法(附完整源码)
    查看>>
    Objective-C实现UDP传输系统源码(附完整源码)
    查看>>
    Objective-C实现UDP内网穿透(附完整源码)
    查看>>
    Objective-C实现ugly numbers丑数算法(附完整源码)
    查看>>
    Objective-C实现unescape函数功能(附完整源码)
    查看>>
    Objective-C实现unet模型(附完整源码)
    查看>>
    Objective-C实现volume conversions体积转换算法(附完整源码)
    查看>>
    Objective-C实现wc函数功能(附完整源码)
    查看>>
    Objective-C实现weight conversion权重转换算法(附完整源码)
    查看>>
    Objective-C实现wiggle sort摆动排序算法(附完整源码)
    查看>>
    Objective-C实现word frequency functions词频函数算法(附完整源码)
    查看>>
    Objective-C实现XOR Cipher异或密码算法(附完整源码)
    查看>>
    Objective-C实现XZordering算法(附完整源码)
    查看>>
    Objective-C实现XZordering算法(附完整源码)
    查看>>
    Objective-C实现y = sinx函数的积分运算(附完整源码)
    查看>>