University Crest

[wlug] IP range + port blocking

 
wlug archive index About the wlug list Mailing lists home
To The University of Waikato HomepageWaikato Home > Waikato Mailing Lists > wlug Info > wlug archives
Matt Brown matt@m...
Mon Oct 12 00:29:22 NZDT 2009


On Tue, Oct 6, 2009 at 7:16 AM, Narender <narender.hooda@g...> wrote:
>
> Could someone suggest how to use hosts.deny/hosts.all for port blocking

in hosts.allow
80: 10.10.10.0/24

in hosts.deny
80: ALL

See man hosts_allow(5) for more details.

Using iptables as Steven suggests is also a good way to do this.

-- 
Matt Brown
matt@m...
Mob +353 86 608 7117 www.mattb.net.nz



More information about the wlug mailing list
NOTICE: This is an archive of a public mailing list. The University of Waikato is not responsible for its contents.

The University of Waikato - Te Whare Wananga o Waikato