Skip to content

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

조회 수 19527 추천 수 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/1d4/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

CentOS Samba 설정

가볍고 강력한 SNMP를 이용한 모니터링 프로그램입니다. file

리눅스 - htop file

favicon 만들기

네트워크 관리자를 위한 통합 모니터링 툴 - N.E.W.T file [2]

리눅스 - zip 압축 해제

[CentOS] ffmpeg 설치

리눅스 Proxy Server[Squid] 설정법[RedHatLinux8.0]

커널 컴파일 장애 처리 perl: warning: Please check that...

대용량 하드 디스크 파티셔닝 (GPT 파티션)

lighttpd와 Apache의 성능 차이 file [2]

  • l2zeo
  • 2012-03-08
  • 조회 수 24246

[Flash] 크로스 도메인 설정 방법

로드밸런싱의 ‘꽃’, L4/L7 스위치 관심 집중

kernel panic 발생 시 자동으로 리부팅 설정

  • ADMIN
  • 2008-12-10
  • 조회 수 24084

하드웨어정보 확인(lshw) file

MRTG 소스 설치

리눅스에서 특정 파일을 제외하고 삭제하기

  • ADMIN
  • 2008-11-03
  • 조회 수 23970

VI 에디터 유니코드(UTF-8)로 인코딩 전환

리눅스 공유 메모리의 설정 (세마포어)

젠투리눅스에서 잃어버린 암호를 다시 설정하기

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234