I have an nfs server on my home network that I want to access from that network only over both ipv4 and ipv6. Ipv4 is no problem, I just put 192.168.178.0/24
in /etc/exports
. For ipv6 I did my:secret:ipv6:prefix:0:0:0:0/64
, but today I found out my ISP had assigned me a new prefix and I couldn't mount my shares until I updated the file. This also means that if my isp had assigned my old prefix to someone else in the meantime, they would have been able to access my server.
Is there a way to prevent this from happenning?