3

Are there any IP blocking applications or firewalls that support IPv6?

The ones I know about (pgld, moblock (sunset?) , nfblock, iplist (looks old)) are only for IPv4.

0

1 Answer 1

0

Uncomplicated Firewall (ufw) runs over IP tables and handles this very well.

sudo ufw deny from 2001:db8::/32 to any

Will deny all traffic from the IPv6 subnet 2001:db8::/32. You can also select ports and protocols to deny, if you need that granularity. As always, see the man page for additional options.

ufw is in the repos, so you can install it with sudo apt-get install ufw.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.