Experts Exchange connects you with the people and services you need so you can get back to work.
$ ipset create XXXXX hash:net family inet6
$ ipset add XXXXX 2a03:2880:f106:83:face:b00c:0:25de
$ ip6tables -I INPUT -m set --match-set XXXXX src -j DROP
$ ipset -L XXXXX
Header: family inet6 hashsize 1024 maxelem 65536
Size in memory: 200
Number of entries: 1
$ ip6tables-save | grep XXXXX
-A INPUT -m set --match-set XXXXX src -j DROP
Open in new window
Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.
[root@ip-172-31-22-236 abc.com]# ipset add blockipv6 2a01:face:booc:/48
ipset v6.16.1: Syntax error: '48' is out of range 0-32
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.