Closed stephen304 closed 3 years ago
odhcpd from z and ruygg
by the way, have you tried to announce 300::/8 subnet and 200::/7 route to LAN clients?
Via RA? Imo the current dhcpv6 behavior seems adequate. This ticket is re: v6 firewall behavior
so right now, i can get a 300::/64 address assigned via ULA but the big question remains do we firewall clients from the mesh.
mmm... yah.
to prevent traffic from mesh zone yggdrasil from entering lan zone 300::
Zone ⇒ Forwardings
look for yggdrasil ⇒ lan
Allow forward to destination zones
firewall.cfg1aad58=forwarding
firewall.cfg1aad58.src='yggdrasil'
firewall.cfg1aad58.dest='lan'
to revert, and allow mesh zone to reach 300::/64 network
uci add firewall forwarding # =cfg1aad58
uci set firewall.@forwarding[-1].src='yggdrasil'
uci set firewall.@forwarding[-1].dest='lan'
@stephen304 Do we want to add the firewall rule that @wfleurant mentioned above to our node builds by default? Seems straight-forward enough to me.
I believe this is already done, it's easy to test in case we left it disabled.
Edit: I think we just need to remove lan from the yggdrasil forward.
We may want to tweak the zone forwarding rules to make the 300 block behave like NAT+firewall. Anyone wanting to host a service should be technical enough to create a forward / rule and this will protect laypeople better. We should discuss briefly.