@SteveITS said in Sanity check for basic firewall rules:
@gld said in Sanity check for basic firewall rules:
rules for the OPTX interface (which are not associated with the firewall)
Then what is it? I'm a bit confused. OPT1/2/3/etc are the default names when adding more interfaces than WAN and LAN. Which some models call PORT1WAN for example. The documentation just assumes you've added OPT1 and need to configure it. You can name it anything, like DMZ or MYLAB.
"OPT1 subnets" would be any subnet assigned to the OPT1 interface.
I was using, as an example, the example in the documentation you referenced. The table in the documentation has the title, "Example firewall rules for isolated LAN type segment". Yes I understand everything you say here.
If you don't have a pass rule for IPV6 then that traffic is not allowed. Each interface has a default block rule.
My understanding is that to allow a subnet get out on the Internet with a IPv6 address there must be an IPv6 pass rule.
If the IPv6 addresses are automatically assigned then no you don't know the IPv6 subnets so using the aliases is probably better than creating your own aliases and having the IPv6 subnets change on you later. "PrivateNets" can be all RFC1918 subnets because those are known.
IPv6 is much easier if you let it be automatic. Add it to WAN, set a prefix delegation request large enough (/57, /60, depends on what your ISP allows) and set the internal interface to Track Interface. Then pfSense will get an IPv6 for WAN, and assign a unique block for the internal interface.
Yes. I was able to get this to work. I eventually got multiple subnets assigned IPv6 addresses. For them to get out to the Internet I had to add a IPv6 pass rule. After that the firewall rules similar to the documentation example you cited and I copied earlier failed to isolate traffic between the subnets I was trying to keep isolated.
I very well might have some significant misunderstandings about IPv6. I will probably take another run at that sometime in the future. For now I'm good.