diff options
| author | Fuwn <[email protected]> | 2024-09-11 03:34:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-11 03:34:39 -0700 |
| commit | b84cc156236ecd4fbe0c9d458e46078df625cb47 (patch) | |
| tree | 18d5355ef83ebe992074a5cbff14f393b8481b67 /modules/networking/firewall/default.nix | |
| parent | Bump: i2p (diff) | |
| download | nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.tar.xz nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.zip | |
Bump: move networking module
Diffstat (limited to 'modules/networking/firewall/default.nix')
| -rw-r--r-- | modules/networking/firewall/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/networking/firewall/default.nix b/modules/networking/firewall/default.nix new file mode 100644 index 0000000..074f398 --- /dev/null +++ b/modules/networking/firewall/default.nix @@ -0,0 +1,11 @@ +{ + imports = [ ./fail2ban.nix ]; + + networking.firewall = { + enable = true; + allowPing = false; + logReversePathDrops = true; + logRefusedConnections = false; + checkReversePath = "loose"; + }; +} |