[리눅스] Firewalld 사용법 [기초]

Posted by nkjok
2022. 8. 22. 17:00 OS&기타/Linux
반응형

firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --reload
firewall-cmd --list-all
#
[root@localhost ~]# firewall-cmd --list-all
 public (active)
 target: default 
 icmp-block-inversion: no
 interfaces: wlp1s0
 sources:
 services: dhcpv6-client http https mysql ssh
 ports: 443/tcp 80/tcp
 protocols:
 masquerade: no
 forward-ports:
 source-ports:
 icmp-blocks:
 rich rules:
#

반응형