블로그
- centos5 geoip 설치 출처 : http://m.blog.naver.com/saint7710/10111239114 [root@localhost ~]# uname -a Linux localhost.localdomain -V iptables v1.3.5 [root@localhost ~]# patch-o-matic-ng 구버전을 받아 압축을 풉니다. patch-o-matic-ng 최근 버전의 경우
- centos7 iptables 설정 나는 웹 서버 구성으로 설치 했더니 이미 설치 되어 있었다. yum install iptables-services iptables 서비스 데몬이 재부팅시에 자동으로 올라오도록 만들자 systemctl enable iptables iptables 서비스를 중지 | 시작 | 재시작 systemctl [stop | start | restart ] iptables iptables
- [CentOs] 방화벽 설정 sysconfig/iptables 파일을 vi 편집기로 열어서 아래 내용을 적어 준다. # vi /etc/sysconfig/iptables iptables -F iptables -A INPUT -p tcp --dport 21 -j ACCEPT iptables -A INPUT -p tcp --dport 22 -j ACCEPT iptables -A INPUT -p