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

리눅스 - zip 압축 해제

콘솔에 남는 메세지로그파일로 남기기

tar 분할 압축 및 해제 및 특정 디렉토리만 압축

linux swap 용량 늘리기

FreeBSD SSH 접속 안되요

인증서문제 (modulus 비교)

[Fedora5]부트로더 설정하기

리눅스 vsftp의 root 접속문제

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

리눅스로그파일삭제 어떤걸삭제하나요?

리눅스에서 일정기간 이상된 파일 삭제하기

리눅스 쓸데없는 파일,로그파일 주기적으로 삭제하기

아파치 모듈 mod_status file

net-snmp-5.3.2.3

MRTG 설치

tar.gz 특정 디렉토리에 압축풀기

압축 : tar / gzip / jar / tbz 사용법

[APM] 리눅스에서 Apache, PHP, MySQL 등 제거 방법

오라클시작

리눅스 파일 복구 명령 debugfs

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234