Add ORPort 4431 required for bridge relay; open port in firewall

Tor requires ORPort to be set when BridgeRelay=1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
randogoth 2026-03-27 17:13:01 +03:00
parent 49e54f3fa9
commit 590cc1b216
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{ ... }: { ... }:
{ {
networking.firewall.enable = true; networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 22 80 443 4430 8443 ]; networking.firewall.allowedTCPPorts = [ 22 80 443 4430 4431 8443 ];
} }

View file

@ -6,6 +6,7 @@
role = "bridge"; role = "bridge";
}; };
settings = { settings = {
ORPort = 4431;
ServerTransportListenAddr = "obfs4 0.0.0.0:4430"; ServerTransportListenAddr = "obfs4 0.0.0.0:4430";
BridgeDistribution = "none"; BridgeDistribution = "none";
}; };