[SSHd] Limiting access from authorized IP's

Gilles gilles.ganault at free.fr
Fri Apr 18 16:33:46 UTC 2008


On Fri, 18 Apr 2008 10:04:37 +0100, FreeBSD - Wire Consulting
<freebsd at wire-consulting.com> wrote:
>sshd(8) is part of the base system, which is a FreeBSD patched version of
>OpenSSH. Although, you can find some ports of bulk OpenSSH in
>/usr/ports/security.

I don't have a firewall on that host because there's already a NAT
router connecting the LAN to the Net.

I'll just add the following to /etc/ssh/sshd_config, and restart the
service:

AllowHosts 192.168.0 82.x.x.x

BTW, is the SSHd that comes with the system good enough, or should I
upgrade to what's in /usr/ports/security/ssh2?

Thanks



More information about the freebsd-questions mailing list