Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- CentOS
- ipsec
- BTr3
- TrueCrypt
- 예시
- ㅂ
- VPN
- 정보보안
- VMwares
- 네트워크
- 윈도우
- debian
- network
- defrag
- 프로젝트
- Linux
- 윈도우서버
- redhat
- window
- 실습
- mount
- cybersecurity
- 제어판
- 마운트
- DiskQuata
- 오류
- 볼륨
- 윈도우볼륨축소
- backtrack
Archives
- Today
- Total
정보 보안을 향한 항해
Linux iptables 실습3 | ssh 허용규칙 위에 거부규칙 넣어 ssh 연결 시도 본문
전 실습에서 난리를 처놓아서 iptables 를 복원해준다
# iptables -nL --line-number
다른 머신에서 연결 당연히 가능하다
허용 설정 위에 거부설정 (reject) 넣어준다
# iptables -I INPUT 3 -p tcp --dport 22 -j ACCEPT
rule 적용시킨다.
# service iptables save && service iptables reload
다른 machine 에서 ssh 시도
Connection refused 됐다면 성공이다.