Remove ServerTransportPlugin override; use module defaults for bridge
When role=bridge, the NixOS tor module already configures ServerTransportPlugin with pkgs.obfs4 and ExtORPort=auto. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8f514d8d0e
commit
49e54f3fa9
1 changed files with 1 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ ... }: {
|
||||||
services.tor = {
|
services.tor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
relay = {
|
relay = {
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
role = "bridge";
|
role = "bridge";
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
ServerTransportPlugin = "obfs4 exec ${pkgs.obfs4}/bin/obfs4proxy";
|
|
||||||
ServerTransportListenAddr = "obfs4 0.0.0.0:4430";
|
ServerTransportListenAddr = "obfs4 0.0.0.0:4430";
|
||||||
BridgeDistribution = "none";
|
BridgeDistribution = "none";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue