Contents
see List작성일 2015. 03. 08.
centos 는 iptables 대신 firewall 을 사용한다.
firewall-cmd --permanent --zone=public --add-port=80-90/tcp (포트 다중오픈)
로 포트를 추가할수있고
firewall-cmd --permanent --zone=public --remove-port=80/tcp
로 포트를 삭제할수있다
firewall-cmd --permanent --zone=public --add-service=samba
서비스추가
또한 cat /etc/firewalld/zones/public.xml 로 확인이 가능하다
그리고 firewall-cmd --reload 로 적용한다.
firewall-cmd --permanent --zone=public --add-source=192.168.100.0/24 특정아이피 포트 오픈sudo firewall-cmd --list-all 확인
os
| No | 작성일 | Title |
|---|---|---|
| 353 | 2016. 03. 04. | [ linux ] tomcat permission change umask |
| 352 | 2016. 02. 26. | [ centos 7 ] oracle service 등록 systemctl |
| 351 | 2016. 02. 26. | [ centos7 ] oracle 11g install centos7에 오라클 설치 |
| 348 | 2016. 02. 15. | [ linux ] 리눅스 centos 자바 버전 (java version) 변경 |
| 338 | 2016. 01. 18. | [ linux ] 리눅스 svn 권한 설정 |
| 333 | 2015. 12. 01. | [ linux ] 하드디스크 추가, 파티션 및 마운트 (hdd partition , mount) |
| 332 | 2015. 11. 20. | [ linux ] 4 TB , 테라 이상 마운트하기 |
| 323 | 2015. 10. 17. | [ linux ] 리눅스 사용중인 포트 확인 |
| 320 | 2015. 10. 16. | [ linux ] tar 및 tar.gz 압축 , 압축해제 |
| 284 | 2015. 05. 29. | [ linux ] ps -ef 프로세서 상태 확인 |