CentOS 7 改回iptables - 工作雜記

工作雜記

My working blogger,In my daily work log, I meticulously record all the matters and processes I encounter during the day. From the task planning that begins in the morning and the discussions and collaborations with colleagues, to the tools, methods, and processes used in the actual execution of the work, I organize and write them down one by one. Problems encountered during the process, the directions of thought, and the solutions finally found are also clearly recorded in writing

工作雜記

搜尋此網誌

標籤

2016年11月18日 星期五

CentOS 7 改回iptables



CentOS 7
後防火牆改為firewalld


類似router設定以區域為概念,在圖形介面上使用是很方便


iptables還是用習慣了,一份文檔設定可以直接套用比較方便


改回iptables方法:


1.關閉firewalld


systemctl stop firewalld.service#停止firewall


systemctl disable firewalld.service#禁止firewall開機啟動


 


2.安裝iptables


yum -y install iptables-services


沒有留言:

張貼留言

Post Top Ad

Your Ad Spot