Open port in container firewall maybe

This commit is contained in:
Lillian Violet 2024-01-04 23:21:53 +01:00
parent 6faf2bc249
commit b6e45b652e

View file

@ -12,6 +12,7 @@
containers.aria2 = {
forwardPorts = [
{
containerPort = 6969;
hostPort = 6969;
protocol = "tcp";
}
@ -36,6 +37,7 @@
...
}: {
system.stateVersion = "23.11";
networking.firewall.allowedTCPPorts = [6969];
users.users = {
aria2.extraGroups = ["jellyfin" "nextcloud"];
};