I created a firewall rule for my ssh server: "ufw allow xxxx/tcp", where xxxx is the port number of my ssh server. It worked just fine for IPv4 and IPv6, but it allowed access from anywhere.
I wanted access to be allowed only within my LAN. So, "ufw allow from 192.168.1.0/24 proto tcp to any port xxxx" worked just fine for IPv4, but it does not handle IPv6.
How would I do an analogous command for IPv6? Would it be something like "ufw allow from aaaa:bbbb:cccc:dddd::/64 proto tcp to any port xxxx"? Or something else entirely?
PS - If you speculate that I am completely ignorant about this subject, you wouldn't be far wrong.--
"Life is like this long line, except at the end there ain't no merry-go-round." - Arthur on The King of Queens
~ Project Hope ~