1. ๋ฌธ์ ์ํฉ
CentOS 7์์ ๋ฐฉํ๋ฒฝ์ ์ด๋ ค๊ณ firewall ๊ด๋ จ ๋ช ๋ น์ ์ ๋ ฅํ๋๋ฐ
FirewallD is not running ์ด๋ผ๋ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
2. ํด๊ฒฐ ๋ฐฉ๋ฒ
์๋ ๋ช ๋ น์ ํตํด ์คํ์ํจ ๋ค ๋ค์ ์ฌ์ฉํ๋ฉด ์ ์์ ์ผ๋ก ์๋ํ๋ค.
systemctl start firewalld
3. ์ฌ์ฉ๋ฒ
# check the status of the service (running and enabled)
systemctl status firewalld
# if the service is not running, start it
systemctl start firewalld
# ์๋ฌ๋ฐ์์ Failed to start firewalld.service: Unit is masked.
systemctl unmask firewalld
# if the service has exited, restart it(check for error if any)
systemctl restart firewalld
# if the service is not enabled, enable it
systemctl enable firewalld
์ฐธ๊ณ ์ฌ์ดํธ