설치 

# yum install firewalld

실행

# systemctl start firewalld

실행여부

# systemctl status firewalld

# firewall-cmd --state

방화벽 reload

# firewall-cmd --reload

방화벽 list

# firewall-cmd --list-all

특정포트 허용

# firewall --permanent --zone=public --80/tcp

특정 ip허용

# firewall-cmd --add-source=192.168.0.2

 

 

 

참조 블로그 : 

https://www.happyjung.com:6001/lecture/2647?sst=wr_datetime&sod=desc&sop=and

https://www.manualfactory.net/10153

https://xbb123.tistory.com/92

'공부 > linux' 카테고리의 다른 글

[Ubuntu] golang 1.10 -> 1.12 install  (0) 2019.06.25
[linux] awk  (0) 2019.06.14
[CentOS7] PortForwading  (0) 2019.05.07
CentOS7 - kvm/qemu  (0) 2019.05.02
centos7 기본 세팅 명령어들  (0) 2018.07.16

+ Recent posts