Tor: Difference between revisions
→Tips and tricks: Add exit note example |
|||
Line 129: | Line 129: | ||
= Tips and tricks = | = Tips and tricks = | ||
== Restrict exit node to specific country == | |||
Following example restricts the Tor daemon to exit nodes in Switzerland (country code <code>ch</code>), which means your traffic will end up in this country. This could be useful to circumvent geo-blocking.<syntaxhighlight lang="nix"> | |||
services.tor = { | |||
[...] | |||
settings = { | |||
ExitNodes = "{ch} StrictNodes 1"; | |||
}; | |||
}; | |||
</syntaxhighlight> | |||
== Sandboxing == | == Sandboxing == |