[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Allowing / Blocking IP for all services



> We want to allow only 2 or 3 IP numbers to access our FTP, SSH and e-mail
> services. Any other IP numbers must be blocked.
> 
> Is this possible in any way?
> 

Do this at your own risk...... 

edit /etc/hosts.deny and put in it 
ALL: ALL
and..... 
edit /etc/hosts.allow and put in it 
xxx.xxx.xxx.xxx  (allowed ip's)
xxx.xxx.xxx.xxy  (allowed ip's)


Zeffie