How to change the IP in tor whonix gateway, not tor browser?

I want to change the IP of the exit node in a tor whonix gateway. Is there a file with which I can achieve the same? Or any idea on how to do it? I am trying to change the IP of the tor in a browser, but don’t know how the IP of the exit node is created.

Who creates the IP for the exit node? Is it a proxy server?

Hi Christy945, Welcome to the Whonix forum!

You can set the exit node in your torrc.

sudo nano /usr/local/etc/torrc.d/50_user.conf

Add the exit node(s)

ExitNodes node, node,...

See; Tor Project: manual

1 Like

Hello,
I installed the latest whonix gateway and workstation and tried to change the exitnode of the gateway by
sudo nano /usr/local/etc/torrc.d/50_user.conf
ExitNodes {nl},{de},{us},{au}
StrictNodes 1
Restart the whonix gateway

This isn’t working in my environment.
I installed firefox on the whonix workstation to check my ip_addres before and after the gateway restart but the ip_address does not change.

Tor - which is a software package. It’s up to Tor’s routing algorithm, the Tor network. → Potential Solutions Beyond Whonix!

Could you please check that this works as per https://www.whonix.org/wiki/Free_Support_Principle, i.e. outside of Whonix with Tor + browser?