Internet only vlan with IPv6

Started by lancable, Today at 09:37:07 AM

Previous topic - Next topic
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"
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Today at 09:48:38 AM #2 Last Edit: Today at 09:50:36 AM by OPNenthu
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.
N5105 | 8/250GB | 4xi226-V | Community

Today at 09:50:42 AM #3 Last Edit: Today at 09:53:18 AM by lancable
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?