tor bridge
This commit is contained in:
parent
b860f7c33a
commit
99d9afbc36
3 changed files with 17 additions and 1 deletions
15
modules/services/tor-bridge.nix
Normal file
15
modules/services/tor-bridge.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }: {
|
||||
services.tor = {
|
||||
enable = true;
|
||||
relay = {
|
||||
enable = true;
|
||||
role = "bridge";
|
||||
};
|
||||
settings = {
|
||||
ServerTransportPlugin = "obfs4 exec ${pkgs.obfs4}/bin/obfs4proxy";
|
||||
ServerTransportListenAddr = "obfs4 0.0.0.0:4430";
|
||||
ExtORPort = "auto";
|
||||
BridgeDistribution = "none";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue