mullane.info

Smaller things (network)

Undated · network

A few shorter notes from the firewall side.

The house had stray IPv6 prefixes turning up on devices that I hadn’t configured anywhere. The way to find the source is to capture router advertisements for ten minutes or more (tcpdump filtered on icmp6 and ip6[40] == 134), since they’re sent fairly rarely. Consumer devices do announce their own prefixes; Thread border routers in smart speakers and hubs are the usual suspects. One leftover prefix probably came from the old mesh Wi-Fi.

For the security box, I wanted a copy of the firewall’s traffic. OPNsense can mirror through a FreeBSD bridge, but a bridge only copies frames from its members, and putting both the WAN and LAN ports into one bridge would join them into one network, which is not what a firewall is for. The mirror lives on the basement switch instead.

The firewall’s ACME client (which issues our certificates) has an API to change a certificate’s settings. The endpoint called set answers “saved” and changes nothing; the one that works is called update. That cost a little time and is told properly in the post about the Wi-Fi controller’s certificate.

And before planning VLANs, map every switch. A truly unmanaged switch puts everything behind it on one VLAN, whatever you intended, and as it turned out two of ours weren’t unmanaged at all (the switch scripting post has that story).