chore: Reconfigure firewall rules.

This commit is contained in:
greysoh 2024-07-13 18:35:42 -04:00
parent 3588bf43b9
commit 47271abd69
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
4 changed files with 78 additions and 4 deletions

View file

@ -25,7 +25,6 @@ in {
enable = true;
settings = {
PasswordAuthentication = false;
X11Forwarding = true;
};
};
@ -55,5 +54,20 @@ in {
bottom
];
# K3s settings
networking.firewall = {
enable = true;
allowedTCPPorts = [
6443
2379
2380
];
allowedUDPPorts = [
8472
];
};
system.stateVersion = "24.05";
}

View file

@ -24,7 +24,6 @@ in {
enable = true;
settings = {
PasswordAuthentication = false;
X11Forwarding = true;
};
};
@ -54,5 +53,29 @@ in {
bottom
];
networking.firewall = {
enable = true;
allowedTCPPorts = [
# Docker swarm
2377
7946
4789
# K3s
6443
2379
2380
];
allowedUDPPorts = [
# Docker swarm
7946
# K3s
8472
];
};
system.stateVersion = "24.05";
}

View file

@ -25,7 +25,6 @@ in {
enable = true;
settings = {
PasswordAuthentication = false;
X11Forwarding = true;
};
};
@ -55,5 +54,20 @@ in {
bottom
];
# K3s settings
networking.firewall = {
enable = true;
allowedTCPPorts = [
6443
2379
2380
];
allowedUDPPorts = [
8472
];
};
system.stateVersion = "24.05";
}

View file

@ -24,7 +24,6 @@ in {
enable = true;
settings = {
PasswordAuthentication = false;
X11Forwarding = true;
};
};
@ -54,5 +53,29 @@ in {
bottom
];
networking.firewall = {
enable = true;
allowedTCPPorts = [
# Docker swarm
2377
7946
4789
# K3s
6443
2379
2380
];
allowedUDPPorts = [
# Docker swarm
7946
# K3s
8472
];
};
system.stateVersion = "24.05";
}