Hey all,
I have setup an internet only vlan for some IOT devices. The goal is self explanatory; the devices are only allowed to communicate with the internet. There are some exceptions with specific firewallrules.
I've added IPv6 into the mix, but the way I block access to other subnets feels a bit cumbersome. I created a rule that blocks all other "nets". Beneath that I've added a rule to allow IPv6. It works, but it feels stil cumbersome.
Is there something that I am missing, or is this the only way to create a Internet Only vlan with IPv6? Maybe some secret button I can push or firewall rule I can enable?
Thanks in advance!
You can use a destination invert in a single rule.
"allow to anything but my local network"
If you have dynamic GUAs (not sure if that's your situation) the problem is that you cannot define "my local network" in IPv6.
Until we get this: https://github.com/opnsense/core/issues/7000
I'm really hoping for this one to finally land in 27.1 so that I can move away from NPTv6 and define proper GUA boundaries.
both thanks for your replies!
@patrick what would that rule look like? I don't know how tot define my local network with GUA addresses.
At this moment I'm using the aliases for my other networks, that end with "network". It works, but is this the best way?