The way it's done is described here:
https://unix.stackexchange.com/questions/166692/how-does-a-t...
A part from tor I don't know if there's a generic tool packaging this.
https://unix.stackexchange.com/questions/166692/how-does-a-t...
A part from tor I don't know if there's a generic tool packaging this.