Re: iptables & tcp wrappers
From: Jan Gerrit Göbel (Jan.Goebel_at_post.rwth-aachen.de)
Date: 09/29/04
- Previous message: Ed J. Aivazian: "Re: iptables & tcp wrappers"
- In reply to: Jorge Alfredo Garcia: "Re: iptables & tcp wrappers"
- Next in thread: Erik Anderson: "RE: iptables & tcp wrappers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 29 Sep 2004 17:36:39 +0200 To: focus-linux@securityfocus.com
> My goal is to block all incoming ssh attempts except IP#.
> This is where I got into hosts.allow/deny as mentioned below.
why don´t you edit the /etc/ssh/sshd_config and add the lines "AllowUsers
username@someIP"
example:
AllowUsers bla@212.132.3.147, laberl@212.132.3.*
that way you can restrict ssh logins to certain users from certain IPs or IP
ranges...
regards
jan
- Previous message: Ed J. Aivazian: "Re: iptables & tcp wrappers"
- In reply to: Jorge Alfredo Garcia: "Re: iptables & tcp wrappers"
- Next in thread: Erik Anderson: "RE: iptables & tcp wrappers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|