totoro: add firewall rule for Lifx
This commit is contained in:
parent
da71f20036
commit
fa8f317d6f
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ in {
|
||||||
3702 # samba-wsdd
|
3702 # samba-wsdd
|
||||||
];
|
];
|
||||||
firewall.checkReversePath = false; # breaks Lifx
|
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"; };
|
macvlans.mv-plex = { interface = "br-ext"; };
|
||||||
interfaces.mv-plex = {
|
interfaces.mv-plex = {
|
||||||
|
|
Loading…
Reference in a new issue