[tor-talk] Using .onion address for MQTT pubsub.
a.krey at gmx.de
Thu Mar 23 07:17:09 UTC 2017
On Thu, 23 Mar 2017 02:18:00 +0000, MaQ wrote:
> mosquitto_pub -h abcdefg123456789.onion -p 9150(and mqtt port) -d -t
> hello/world -m "Hello World"
What is '9150(and mqtt port)'?
Well, you need to tell mosquitto_pub to use the socks5 port that the
client side tor has, probably with --proxy socks5h://localhost:9150
And on the server side you need to have a HiddenServicePort directive
in the torrc that translates the port you give on -p to the actual
listener port of the MQTT server.
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
More information about the tor-talk