博客
关于我
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 Pandas,从.groupby().Apply()中的GROUP中分割行
    查看>>
    Python pathlib模块详解:优雅处理文件路径
    查看>>
    python Path模块的使用 glob iglob name
    查看>>
    python pickle 模块的使用
    查看>>
    Python PIL/Pillow-Pad图像至所需大小(例如,A4)
    查看>>
    python PIL模框使用
    查看>>
    Python ping 模块
    查看>>
    Python Pingouin:搞定各种假设检验和统计模型 !
    查看>>
    Python pip 国内镜像大全及使用办法
    查看>>
    Python输入输出练习,运算练习,turtle初步练习
    查看>>
    Python pip工具使用
    查看>>
    Python pip配置国内源
    查看>>
    Python Plotly 将轴数格式化为 %
    查看>>
    Redis 键值过期操作
    查看>>
    python predictabel_基于R语言PredictABEL包对Logistic回归模型外部验证
    查看>>
    Python psycopg2 超时
    查看>>
    Python Pyinstaller Matplotlibrary
    查看>>
    Python Pypi 修改 国内源(以豆瓣源为例)
    查看>>
    Python PyQt5 将不再显示此消息复选框添加到 QMessageBox
    查看>>
    Python PyQt5:如何使用 PyQt5 显示错误消息
    查看>>