From b14e55d25aa3c42685b8bab3bd9b52e53c22426f Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 29 Jul 2015 15:38:47 +0200 Subject: pnp: allow ping for faster irc connect --- makefu/1systems/pnp.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'makefu/1systems/pnp.nix') diff --git a/makefu/1systems/pnp.nix b/makefu/1systems/pnp.nix index 4c4ce716f..536e08187 100644 --- a/makefu/1systems/pnp.nix +++ b/makefu/1systems/pnp.nix @@ -40,6 +40,7 @@ # networking.firewall is enabled by default networking.firewall.allowedTCPPorts = [ 80 ]; + networking.firewall.allowPing = true; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; -- cgit v1.2.3 From 65d79890493600b09dc01209a378c070f2f0a028 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 29 Jul 2015 15:50:37 +0200 Subject: add firewall reject instead of drop --- makefu/1systems/pnp.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'makefu/1systems/pnp.nix') diff --git a/makefu/1systems/pnp.nix b/makefu/1systems/pnp.nix index 536e08187..549658983 100644 --- a/makefu/1systems/pnp.nix +++ b/makefu/1systems/pnp.nix @@ -40,6 +40,7 @@ # networking.firewall is enabled by default networking.firewall.allowedTCPPorts = [ 80 ]; + networking.firewall.rejectPackets = true; networking.firewall.allowPing = true; fileSystems."/" = -- cgit v1.2.3