so we can use
Code: Select all
/ffff:ffff:ffff:ffff:0000:0000:0000:0000
(equeal to /ffff:ffff:ffff:ffff::)
as the mask to represent
Code: Select all
/64
Code: Select all
/0000:0000:0000:0000:ffff:ffff:ffff:ffff:
(equeal to /::ffff:ffff:ffff:ffff)
I can do this easily with IP6TABLES
Code: Select all
ip6tables -I FORWARD -d ::aaaa:bbbb:cccc:dddd/::ffff:ffff:ffff:ffff -p tcp --dport 22 -j ACCEPT

Feature support status :
[✓] Linux IP6TABLES (vanilla or not)
[✓] Vyos
[✓] OpenWrt
[x] Routeros