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
Steven Lisson stevel@d...
Tue Oct 6 19:24:09 NZDT 2009

Probably easier to do it with IPTables:

iptables -A INPUT -s -p tcp --destination-port 80 -j
iptables -A INPUT -p tcp --destination-port 80 -j DROP

-----Original Message-----
From: wlug-bounces@l...
[mailto:wlug-bounces@l...] On Behalf Of Narender
Sent: Tuesday, 6 October 2009 4:17 PM
To: Waikato Linux Users Group
Subject: [wlug] IP range + port blocking


I need some help in IP/Port blocking as below:-

All machines with IP range 10.10.10.x should have access to Port 80 on
(Machine 10.10.10.xx).  and rest all should be blocked.

Could someone suggest how to use hosts.deny/hosts.all for port blocking

Many thanks in advance.

Best Regards
wlug mailing list | wlug@l...

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