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

 

 

์ฐธ๊ณ  ์‚ฌ์ดํŠธ

+ Recent posts