mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 08:06:19 +02:00
networking updates
This commit is contained in:
parent
9f6221d8b1
commit
cf9dedf17a
4 changed files with 15 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
{
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
ignoreIP = [
|
||||
"141.30.0.0/16"
|
||||
"141.76.0.0/16"
|
||||
];
|
||||
bantime = "10m";
|
||||
bantime-increment = {
|
||||
enable = true;
|
||||
|
|
|
@ -17,6 +17,11 @@
|
|||
domain = "rfive.de";
|
||||
useNetworkd = true;
|
||||
enableIPv6 = true;
|
||||
firewall = {
|
||||
extraInputRules = ''
|
||||
ip saddr 192.168.0.0/16 tcp dport 19531 accept comment "Allow journald gateway access from local networks"
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.resolved = {
|
||||
dnssec = "true";
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
useNetworkd = true;
|
||||
enableIPv6 = true;
|
||||
nftables.enable = true;
|
||||
firewall = {
|
||||
extraInputRules = ''
|
||||
ip saddr 192.168.0.0/16 tcp dport 19531 accept comment "Allow journald gateway access from local networks"
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.lldpd.enable = true;
|
||||
services.resolved = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue