mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
networking updates
This commit is contained in:
parent
9f6221d8b1
commit
cf9dedf17a
|
@ -2,6 +2,10 @@
|
||||||
{
|
{
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
ignoreIP = [
|
||||||
|
"141.30.0.0/16"
|
||||||
|
"141.76.0.0/16"
|
||||||
|
];
|
||||||
bantime = "10m";
|
bantime = "10m";
|
||||||
bantime-increment = {
|
bantime-increment = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -17,6 +17,11 @@
|
||||||
domain = "rfive.de";
|
domain = "rfive.de";
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
enableIPv6 = 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 = {
|
services.resolved = {
|
||||||
dnssec = "true";
|
dnssec = "true";
|
||||||
|
|
|
@ -6,6 +6,11 @@
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
nftables.enable = 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.lldpd.enable = true;
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./vim.nix
|
./vim.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
|
./systemd.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./yazi.nix
|
./yazi.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
|
|
Loading…
Reference in a new issue