diff options
author | Louis Bettens <louis@bettens.info> | 2022-02-14 20:55:25 +0100 |
---|---|---|
committer | Louis Bettens <louis@bettens.info> | 2022-02-14 20:55:25 +0100 |
commit | 625412d2bcd2221701fe810ba2745aec380fff74 (patch) | |
tree | 08f0fc132b39206117429887d1a8105269654bf8 /nixos | |
parent | 48d63e924a2666baf37f4f14a18f19347fbd54a2 (diff) | |
download | nixpkgs-625412d2bcd2221701fe810ba2745aec380fff74.tar nixpkgs-625412d2bcd2221701fe810ba2745aec380fff74.tar.gz nixpkgs-625412d2bcd2221701fe810ba2745aec380fff74.tar.bz2 nixpkgs-625412d2bcd2221701fe810ba2745aec380fff74.tar.lz nixpkgs-625412d2bcd2221701fe810ba2745aec380fff74.tar.xz nixpkgs-625412d2bcd2221701fe810ba2745aec380fff74.tar.zst nixpkgs-625412d2bcd2221701fe810ba2745aec380fff74.zip |
nixos/firewall: remove dead code
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/firewall.nix | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix index 2aa3be16f6e..7482e29a3fd 100644 --- a/nixos/modules/services/networking/firewall.nix +++ b/nixos/modules/services/networking/firewall.nix @@ -179,10 +179,6 @@ let ) cfg.allowedUDPPortRanges ) allInterfaces)} - # Accept IPv4 multicast. Not a big security risk since - # probably nobody is listening anyway. - #iptables -A nixos-fw -d 224.0.0.0/4 -j nixos-fw-accept - # Optionally respond to ICMPv4 pings. ${optionalString cfg.allowPing '' iptables -w -A nixos-fw -p icmp --icmp-type echo-request ${optionalString (cfg.pingLimit != null) |