From 2227161b3170a62196ae6d4055f12d250da8354c Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 22 Dec 2020 14:49:32 +0100 Subject: [PATCH] Remove cruft from firewall configuration --- modules/networking.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index f5444f8..d3a3bf6 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -31,8 +31,6 @@ in { # Firewall configuration networking.firewall = { allowedTCPPorts = [ - 631 # Cups - 6566 # SANE 80 # HTTP 443 # HTTPS 53 # DNS @@ -41,8 +39,6 @@ in { 1194 # Wireguard 53 # DNS ]; - autoLoadConntrackHelpers = true; - connectionTrackingModules = [ "sane" ]; extraCommands = '' iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE '';