Open port in container firewall maybe
This commit is contained in:
parent
6faf2bc249
commit
b6e45b652e
|
@ -12,6 +12,7 @@
|
||||||
containers.aria2 = {
|
containers.aria2 = {
|
||||||
forwardPorts = [
|
forwardPorts = [
|
||||||
{
|
{
|
||||||
|
containerPort = 6969;
|
||||||
hostPort = 6969;
|
hostPort = 6969;
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
}
|
}
|
||||||
|
@ -36,6 +37,7 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
networking.firewall.allowedTCPPorts = [6969];
|
||||||
users.users = {
|
users.users = {
|
||||||
aria2.extraGroups = ["jellyfin" "nextcloud"];
|
aria2.extraGroups = ["jellyfin" "nextcloud"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue