로딩
티스토리 데이터 처리 중입니다.

4. 방화벽 설정

 4. 방화벽 설정

이번에는 CentOS에서 firewall과 nmap 간의 관계를 파악해보는 실험을 해보도록 하겠다. 먼저, CentOS에서 firewall과 systemctl을 이용하여 port service와 방화벽을 setting 하자. 1. firewall 설정하기 firewall의 환경설정 상태를 확인할 수 있는 명령으로 firewall에 설정된 모든 정보를 확인할 수 있다.

현재 CentOS에서 firewall을 설정한 port들을 확인할 수 있다. firewall에 port 등록하는 명령은 다음과 같다. -firewall-cmd --permanent--add-service= [service name] option의 permanent는 영구적으로 이 service를 등록하겠다는 option이다. firewall.....

원문 링크 : 4. 방화벽 설정