firewalld ๋ช ๋ น์ค ํด๋ผ์ด์ธํธ. ๋ฐํ์ ๋๋ ์๊ตฌ ๋ฐฉํ๋ฒฝ ๊ตฌ์ฑ ์ํ๋ฅผ ์กฐํ ๋ฐ ์์ . ๋ ๋ง์ ์ ๋ณด: https://firewalld.org/documentation/man-pages/firewall-cmd.
firewall-cmd --list-all-zones
firewall-cmd --permanent --zone={{block}} --change-interface={{enp1s0}}
public
์์ญ์์ ํฌํธ 443):firewall-cmd --permanent --zone={{public}} --add-service={{https}}
public
์์ญ์์ ํฌํธ 80):firewall-cmd --permanent --zone={{public}} --remove-service={{http}}
public
์์ญ์์ ํฌํธ 443์ 8443์ผ๋ก):firewall-cmd --permanent --zone={{public}} --add-rich-rule='rule family="{{ipv4|ipv6}}" forward-port port="{{443}}" protocol="{{udp|tcp}}" to-port="{{8443}}"'
firewall-cmd --reload
firewall-cmd --runtime-to-permanent
firewall-cmd --panic-on