How to configure IP in a fixed country

Hello all, I wonder if it is possible to configure Whonix Gateway so that it only runs in ip for a single country and, if this is possible, how can I do it?

Thank you very much in advance

Hi R4V1

It is recommended that you let Tor pick your exit nodes for you. Choosing your own exit node can degrade anonymity. With that said you can add ExitNode node to your torrc. Keep in mind if you use the same exit node for more than a short period of time you will degrade you anonymity

From How can we help? | Tor Project | Support

ExitNodes node , node ,

A list of identity fingerprints, country codes, and address patterns of nodes to use as exit node—that is, a node that delivers traffic for you outside the Tor network. See the ExcludeNodes option for more information on how to specify nodes.

Note that if you list too few nodes here, or if you exclude too many exit nodes with ExcludeExitNodes, you can degrade functionality. For example, if none of the exits you list allows traffic on port 80 or 443, you won’t be able to browse the web.

Note also that not every circuit is used to deliver traffic outside of the Tor network. It is normal to see non-exit circuits (such as those used to connect to hidden services, those that do directory fetches, those used for relay reachability self-tests, and so on) that end at a non-exit node. To keep a node from being used entirely, see ExcludeNodes and StrictNodes.

The ExcludeNodes option overrides this option: any node listed in both ExitNodes and ExcludeNodes is treated as excluded.

The .exit address notation, if enabled via MapAddress, overrides this option.

3 Likes

Thanks friend, for the warning and the help, Clarified my doubt