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

리눅스에서 PATH 적용하여 전체 사용자 적용

linux adduser 시 copydir(): preserving permissions 오...

Vista Bootloader에 Fedora 10 부팅옵션 추가해서 듀얼 부...

  • l2zeo
  • 2010-03-08
  • 조회 수 23273

Linux에서 Oracle 인스톨시 발생하는 에러

웹에서 ssh 를 지원해준다. [webssh] file

ipchains bridge 방화벽 정리 자료. file

CentOS 4.x 에서 yum 실패 대처

아파치 HARD_SERVER_LIMIT

rpmfind (rpm패키지 검색사이트)

LVS-NAT 구축(Linux Virtual Server) file

Linux 소켓 접속 개수 늘리기

RPM 사용법 정리

젠투리눅스 설치기록

crontab 예약실행 file

리눅스에서 하드웨어 스팩 보기 dmidecode

squid.conf

CentOS 5.0~5.1 :: 커널 2.6.17~2.6.24.1 vmsplice 커널버...

특수문자 정규 표현식

보안서버구축시 아파치 컴파일 중 "can not be used when ...

ssh, ftp 접근 딜레이 현상 발생시 조치방법

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234