diff --git a/system/networking.nix b/system/networking.nix index a65dc84..fab4ef5 100644 --- a/system/networking.nix +++ b/system/networking.nix @@ -11,12 +11,18 @@ psk = "SidonPhlegm"; }; }; - # firewall = { - # enable = true; - # # Ports used by Local Send - # allowedTCPPorts = [ 53317 ]; - # allowedUDPPorts = [ 53317 ]; - # }; + firewall = { + enable = true; + # Ports used by Local Send + allowedTCPPorts = [ 53317 ]; + allowedUDPPorts = [ 53317 ]; + extraCommands = " + iptables -I nixos-fw 1 -i br+ -j ACCEPT + "; + extraStopCommands = " + iptables -D nixos-fw -i br+ -j ACCEPT + "; + }; hosts = { "127.0.0.1" = [ "localhost"