port change
This commit is contained in:
@@ -22,8 +22,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 33080 ];
|
allowedUDPPorts = [ 3478 ];
|
||||||
allowedUDPPorts = [ 3478 33073 ];
|
|
||||||
allowedUDPPortRanges = [{ from = 49152; to = 54152; }];
|
allowedUDPPortRanges = [{ from = 49152; to = 54152; }];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -45,7 +44,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
] ++ map (x: { hostPort = x; containerPort = x; protocol = "udp"; }) (builtins.genList (y: 49152 + y) (54152 - 49152));
|
] ++ map (x: { hostPort = x; containerPort = x; protocol = "udp"; }) (builtins.genList (y: 51100 + y) (56100 - 51100));
|
||||||
|
|
||||||
|
|
||||||
extraFlags = [
|
extraFlags = [
|
||||||
@@ -197,7 +196,7 @@
|
|||||||
user = "netbird";
|
user = "netbird";
|
||||||
passwordFile = "/etc/netbird/coturnPass";
|
passwordFile = "/etc/netbird/coturnPass";
|
||||||
|
|
||||||
openPorts = map (x: x) (builtins.genList (y: 49152 + y) (54152 - 49152));
|
openPorts = map (x: x) (builtins.genList (y: 51100 + y) (56100 - 51100));
|
||||||
};
|
};
|
||||||
|
|
||||||
signal = {
|
signal = {
|
||||||
@@ -225,7 +224,7 @@
|
|||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 80 ];
|
allowedTCPPorts = [ 80 ];
|
||||||
allowedUDPPorts = [ 3478 ];
|
allowedUDPPorts = [ 3478 ];
|
||||||
allowedUDPPortRanges = [{ from = 49152; to = 54152; }];
|
allowedUDPPortRanges = [{ from = 51100; to = 56100; }];
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
|
|||||||
Reference in New Issue
Block a user