IPTALBES2 iptables 초기 세팅 ( 개인적 선호 방식 ) * 환경 Centos7 1. 방화벽 서비스 정리 systemctl stop firewalld systemctl disable firewalld yum -y install iptables-services systemctl enable iptables systemctl start iptables 2. 파일 작성 vi /etc/sysconfig/iptables # sample configuration for iptables service # you can edit this manually or use system-config-firewall # please do not ask us to add additional ports/services to this default configuration *filter :.. 2021. 11. 9. GEOIP 설치하기 - 방화벽 리눅스에는 IPTBLES 라는 방화벽이 있어 기본적으로 정책을 수립할수 있습니다. 하지만 모니터링을 하지 않는 이상 어느 IP가 문제인지도 모르고 해킹 이슈가 있는 특정 나라를 다 하나하나 적기 힘들기때문에 gerip라는 정책을 통해 국가 코드사용하여 막을수 있습니다. 1. 필수 패키지 설치 하기 yum install gcc gcc-c++ make automake unzip zip xz kernel-devel-`uname -r` iptables-devel -y yum install perl-Text-CSV_XS -y //perl-Text-CSV_XS 설치 2. xtables-addons 설치 cd /usr/local/src wget http://downloads.sourceforge.net/proje.. 2021. 9. 30. 이전 1 다음