Friday, July 13, 2012

Blocking IP Range using UFW

http://www.guyrutenberg.com/2009/11/07/blocking-ip-range-using-ufw/
http://ubuntuforums.org/showthread.php?t=823741

advanced allow example for allowing access from an ip address range 10.120.0.1 - 10.120.0.255 to port 22

sudo ufw allow from 10.0.0.0/24 to any port 22


sudo ufw deny from 10.0.0.0/24 to any port 22

No comments:

Post a Comment