[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Using .onion address for MQTT pubsub.



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.

- Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk