fix: netbird ports, currently broken

This commit is contained in:
Patrick 2024-11-03 21:32:46 +01:00
parent 4087bdd3e5
commit 6e658ab934
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 6 additions and 10 deletions

View file

@ -3,9 +3,10 @@
wireguard.elisabeth = { wireguard.elisabeth = {
client.via = "elisabeth"; client.via = "elisabeth";
firewallRuleForNode.elisabeth.allowedTCPPorts = [ firewallRuleForNode.elisabeth.allowedTCPPorts = [
80 80 # dashboard
3000 3000 # management
3001 8012 # signal
33080 # relay
]; ];
}; };
@ -28,12 +29,7 @@
group = "netbird"; group = "netbird";
}; };
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedUDPPorts = [ 3478 ]; # STUN/TURN server
80
3000
3001
];
networking.firewall.allowedUDPPorts = [ 3478 ];
services.netbird = { services.netbird = {
server = { server = {
enable = true; enable = true;

View file

@ -153,7 +153,7 @@ in
X-Frame-Options = "SAMEORIGIN"; X-Frame-Options = "SAMEORIGIN";
}; };
"/signalexchange.SignalExchange/".extraConfig = '' "/signalexchange.SignalExchange/".extraConfig = ''
grpc_pass grpc://${ipOf "netbird"}:3001; grpc_pass grpc://${ipOf "netbird"}:8012;
grpc_read_timeout 1d; grpc_read_timeout 1d;
grpc_send_timeout 1d; grpc_send_timeout 1d;
grpc_socket_keepalive on; grpc_socket_keepalive on;