totoro: add firewall rule for Lifx

This commit is contained in:
Luke Granger-Brown 2022-04-06 01:00:55 +01:00
parent da71f20036
commit fa8f317d6f

View file

@ -109,6 +109,10 @@ in {
3702 # samba-wsdd
];
firewall.checkReversePath = false; # breaks Lifx
firewall.extraCommands = ''
# Allow all inbound UDP from localnet for Lifx purposes...
iptables -A nixos-fw -p udp --src 192.168.1.0/24 --dst 192.168.1.40 -j nixos-fw-accept
'';
macvlans.mv-plex = { interface = "br-ext"; };
interfaces.mv-plex = {