898 B
Executable File

TORch Agent Example

The example creates a Vagrant machine configured with TORch Agent

Running the Example

Install dependencies

Run the Broker

Add the following line to your /etc/hosts file:

Run the broker in a terminal window:


Run the Subscriber

In a separate terminal window, run the subscriber:


Run TORch Agent in Vagrant

Run the Vagrant box in a third terminal window:

vagrant up

You should see that the broker received a connection from the Vagrant box at boot up and the subscriber received the onion hostname. You can use a local tor proxy to connect to the vagrant box using SSH and the onion hostname.