fix: netbird ports, currently broken
This commit is contained in:
parent
4087bdd3e5
commit
6e658ab934
|
@ -3,9 +3,10 @@
|
|||
wireguard.elisabeth = {
|
||||
client.via = "elisabeth";
|
||||
firewallRuleForNode.elisabeth.allowedTCPPorts = [
|
||||
80
|
||||
3000
|
||||
3001
|
||||
80 # dashboard
|
||||
3000 # management
|
||||
8012 # signal
|
||||
33080 # relay
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -28,12 +29,7 @@
|
|||
group = "netbird";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
3000
|
||||
3001
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [ 3478 ];
|
||||
networking.firewall.allowedUDPPorts = [ 3478 ]; # STUN/TURN server
|
||||
services.netbird = {
|
||||
server = {
|
||||
enable = true;
|
||||
|
|
|
@ -153,7 +153,7 @@ in
|
|||
X-Frame-Options = "SAMEORIGIN";
|
||||
};
|
||||
"/signalexchange.SignalExchange/".extraConfig = ''
|
||||
grpc_pass grpc://${ipOf "netbird"}:3001;
|
||||
grpc_pass grpc://${ipOf "netbird"}:8012;
|
||||
grpc_read_timeout 1d;
|
||||
grpc_send_timeout 1d;
|
||||
grpc_socket_keepalive on;
|
||||
|
|
Loading…
Reference in a new issue