Skip to content

Commit

Permalink
fix: tor bridge setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LEXUGE committed Jul 1, 2024
1 parent 19000db commit ba1108a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cfgs/shards/services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
settings = {
# ContactInfo = "[email protected]";
# Nickname = "toradmin";
ORPort = 9001;
ORPort = 8002;
# ServerTransportPlugins are automatically set by nixpkgs
ServerTransportListenAddr = "obfs4 0.0.0.0:8003";
AccountingStart = "week 1 10:00";
# There is no AccountingRule in NixOS settings. Thus by default we are maxing out either send or receive.
AccountingMax = "25 GBytes";
};
};
# obfs4 port
networking.firewall.allowedTCPPorts = [ 8003 ];

services.nginx = {
enable = true;
Expand Down

0 comments on commit ba1108a

Please sign in to comment.