Skip to content

ssh 특정 ip or 특정대역폭만 접속 허용

조회 수 19560 추천 수 0 2012.03.20 10:09:58
/etc/hosts.deny

/etc/hosts.allow

위 두파일을 수정해 줘야 함


_hosts.deny

:#

# hosts.deny    This file describes the names of the hosts which are

                  *not* allowed to use the local INET services, as decided

                   by the '/usr/sbin/tcpd' server.

#

# The portmap line is redundant, but it is left to remind you that

# the new secure portmap uses hosts deny and hosts.allow, in particular

# you should know that NFS uses portmap!

sshd : ALL


_hosts.allow

:#

#

# hosts.allow    This file describes the names of the hosts which are

                   allowed to use the local INET services, as decided

                   by the '/usr/sbin/tcpd' server.

sshd : 222.222.222. :ALLOW -------->특정대역만 허용

sshd : 222.222.222.222 :ALLOW ---->특정 ip만 허용


profile

일요일은 짜빠게뤼~ 먹는날~^^

엮인글 :
http://adminplay.com/81383/ff3/trackback
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
247 웹에서 ssh 를 지원해준다. [webssh] file ADMINPLAY 2009-09-08 23206
246 ipchains bridge 방화벽 정리 자료. file ADMINPLAY 2009-09-08 23172
245 [리눅스] 파일의 속성관리를 위한 chattr실무활용 -1- ADMINPLAY 2009-09-09 17870
244 [리눅스] 파일의 속성관리를 위한 chattr실무활용 -2- ADMINPLAY 2009-09-09 15778
243 서버로그 관리 ADMINPLAY 2009-09-20 22205
242 [Linux] too many files 에러가 날때 ADMINPLAY 2009-09-20 23867
241 crontab 예약실행 file ADMINPLAY 2009-09-22 22905
240 chkconfig ADMINPLAY 2009-09-24 19859
239 Red Hat Linux 9 ADMINPLAY 2009-09-24 51604
238 CentOS 리눅스에서 완벽 동영상 재생하기 ADMINPLAY 2009-09-24 20522
237 Making Linux Streaming Server RED5 스트리밍 리눅스서버... ADMINPLAY 2009-09-24 26678
236 [설치/설정] APM 튜닝정보 조금 ADMINPLAY 2009-09-24 19134
235 [Linux]RedHat Enterprise Linux 5 계열 VNC Server 설정 ADMINPLAY 2009-09-25 23752
234 CentOS 5.0~5.1 :: 커널 2.6.17~2.6.24.1 vmsplice 커널버... ADMINPLAY 2009-09-28 22560
233 rm -rf * 잘못 쳤을 때 울지 않기! ADMINPLAY 2009-09-30 19209
232 favicon 만들기 ADMINPLAY 2009-09-30 24875
231 mrtg on freebsd , monitor windows2003 ADMINPLAY 2009-10-11 16813
230 Dstat - 모니터링 file ADMINPLAY 2009-10-30 30735
229 네트워크 관리자를 위한 통합 모니터링 툴 - N.E.W.T file [2] ADMINPLAY 2009-10-31 24754
228 가볍고 강력한 SNMP를 이용한 모니터링 프로그램입니다. file ADMINPLAY 2009-10-31 24899

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234