[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Question re syntax for hosts.allow file
- Subject: Re: [vps-mail] Question re syntax for hosts.allow file
- From: ADNET Ghislain <gadnet@xxxxxxxx>
- Date: Sun, 30 Nov 2003 04:06:25 +0100
Hi,
ah tcp wrappers !
Both will work well but the first is cleaner as the second will also
catch domains starting like the ip ;)
As a little rule of filtering , you should have only "allow" rules
in it with the last a "deny all":
exemple :
ALL : localhost 127.0.0.1 : allow
pop3 pop3s pop3pw imaps imap ftp ftps : ALL : allow
smtp : all except 207.164.7.0/255.255.255.0 : allow
ALL : ALL : deny
This is like for firewalls , the best is to close all and open what
you need. This is the most secure way of doing this IMHO.
for more info about how to use tcp wrappers on VPS :
man 5 hosts_options
man 5 hosts_access
Hope it helps :)
best regards,
Ghislain.
>
> or
>
> smtp : 207.164.7. : deny
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
======================================================================
Main Index |
Thread Index