FirewallD is not running 해결방법
본문 바로가기
VAS/Centos 7 개발환경 구축

FirewallD is not running 해결방법

by Migos 2022. 6. 13.
반응형

방화벽 열려고 아래 명령어 실행 후 FirewallD is not running 에러 발생 시 해결방법

 

sudo firewall-cmd --add-port=3389/tcp --permanent

 

# 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

 

전체화면

반응형

댓글