Created
March 29, 2012 06:15
-
-
Save dogweather/2234066 to your computer and use it in GitHub Desktop.
Deny all traffic from an IP address
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To insert the new rule before others (i.e. allow's) in the list: | |
ufw insert 1 deny from a.b.c.d | |
To check the placement: | |
ufw status numbered |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment