Question #51550 on Gufw changed:
https://answers.edge.launchpad.net/gui-ufw/+question/51550

leoquant posted a new comment:
to block ip:

You need to edit /etc/ufw/before.rules and add a section "Block IP"
after "Drop INVALID packets" :

-A ufw-before-input -s 111.222.3.44 -j DROP #Assuming no loging is desired of 
course)
# drop INVALID packets
# uncomment to log INVALID packets
#-A ufw-before-input -m conntrack --ctstate INVALID -j LOG --log-prefix "[UFW B$
-A ufw-before-input -m conntrack --ctstate INVALID -j DROP

# Block IP
# This it is efective :)
-A ufw-before-input -s 111.222.3.44 -j DROP

-- 
You received this question notification because you are a member of Gufw
Developers, which is an answer contact for Gufw.

_______________________________________________
Mailing list: https://launchpad.net/~gufw-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gufw-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to