On Windows I have used XBBrowser, which provides a custom version of Firefox suited to using Tor.

XBBrowser provides a button, flush tor circuit, which will setup an entirely new connection and exit node.

I am wondering how to do the equivalent thing on Linux. ALl I can do is restart tor, which does not seem to make any difference.

So, on Linux, how would I flush the circuit?


2 Answers 2


The solution is to enable the control port in torrc

It is also important to set a password for the control port with tor --hash-password password

You can then connect to the control port and issue a NEWNYM commands.

printf "AUTHENTICATE \"password\"\r\nSIGNAL NEWNYM\r\n" | nc 9051
  • Does this really close all circuits? On Windows at least, if I do "SIGNAL NEWNYM" followed by "getinfo circuit-status" I often find old open circuits. I have to use the "closecircuit" command to be sure all circuits are closed.
    – Ogglas
    Sep 30, 2015 at 16:35

If you use the Vidalia GUI, you can use the Network map to close all circuits. It's not as fast, but does the same thing.

  • Nope, no GUI...
    – Jack
    May 6, 2010 at 21:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .