diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-05-19 11:52:55 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-05-19 11:52:55 -0400 |
| commit | e97164871b160f21f32c7fd77e4773b4c1fe366a (patch) | |
| tree | cbf4c4e14bd650a558961d7bdf9487d54c7f9889 /epistemia | |
| parent | 220925e37a0f51ce253b959f481d95dd67ae86f4 (diff) | |
saklas: update firewall
Diffstat (limited to 'epistemia')
| -rw-r--r-- | epistemia/systems/saklas.scm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/epistemia/systems/saklas.scm b/epistemia/systems/saklas.scm index 5aba985..fa0fbc1 100644 --- a/epistemia/systems/saklas.scm +++ b/epistemia/systems/saklas.scm | |||
| @@ -151,7 +151,7 @@ table inet filter { | |||
| 151 | iifname wg1 accept | 151 | iifname wg1 accept |
| 152 | 152 | ||
| 153 | # reject everything else | 153 | # reject everything else |
| 154 | log prefix \"BLOCK: \" reject with icmpx type port-unreachable | 154 | reject with icmpx type port-unreachable |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | chain forward { | 157 | chain forward { |
| @@ -307,11 +307,7 @@ table inet filter { | |||
| 307 | (string-append | 307 | (string-append |
| 308 | "nameserver 127.0.0.1\n" | 308 | "nameserver 127.0.0.1\n" |
| 309 | "search epistemia\n"))))) | 309 | "search epistemia\n"))))) |
| 310 | (service (fail2ban-jail-service | 310 | (service openssh-service-type |
| 311 | openssh-service-type | ||
| 312 | (fail2ban-jail-configuration | ||
| 313 | (name "sshd") | ||
| 314 | (enabled? #t))) | ||
| 315 | (openssh-configuration | 311 | (openssh-configuration |
| 316 | (permit-root-login 'prohibit-password) | 312 | (permit-root-login 'prohibit-password) |
| 317 | (password-authentication? #f) | 313 | (password-authentication? #f) |
