Re: Restrict server access
Will Parkinson wrote:
> Hi All,
>
> I was wondering if there was any way to restrict server ssh, ftp and
> even http access to certain countries / ip ranges? I've been using
> debian for a while at home but am pretty new to the security side of
> things.
>
> Any help much appreciated
You can use /etc/hosts.allow, /etc/hosts.deny to allow and block certain
range of IPs. Both the files are very easy to configure. I don't know how
to allow/block access based on the country of origin.
hth
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
Reply to: