Ask
Reply
Solution
07-03-2023 11:05 AM
Hi
I am trying to connect my wifi connected Sonoff (flashed with TASMOTA) to my local MQTT Broker. The wifi connection works fine but it fails to connect with the broker. When I look at the vodafone event logs it appears there is a firewall issue. Is there any way to open up this connection (IP address and port) without turning off the firewall? Vodafone also reports some system issues - Failed to send DHCPV6 message to xxxxxx (Permission denied) and sessionmgr.lua:262: redirectIfNotAuthorized(): Unauthorized request
07-03-2023 02:32 PM - edited 07-03-2023 02:33 PM
"Failed to send DHCPV6 message to xxxxxx (Permission denied)"
That's a dead giveaway. Vodafone don't provide IPv6 so DHCPv6 will never work. Is there any way to use this over IPv4?
07-03-2023 04:36 PM
@Ripshod MQTT should work over IPv4 as I use Mosquitto MQTT on Rasperry Pi. Most (all?) MQTT brokers will allow custom ports as well as default ones.
Depending on which router is being used this could be easy or a bit of a pain.
These are the ports with which I am familiar for MQTT :-
1883 : MQTT, unencrypted, unauthenticated
1884 : MQTT, unencrypted, authenticated
8883 : MQTT, encrypted, unauthenticated
8884 : MQTT, encrypted, client certificate required
8885 : MQTT, encrypted, authenticated
8886 : MQTT, encrypted, unauthenticated
8887 : MQTT, encrypted, server certificate deliberately expired
8080 : MQTT over WebSockets, unencrypted, unauthenticated
8081 : MQTT over WebSockets, encrypted, unauthenticated
8090 : MQTT over WebSockets, unencrypted, authenticated
8091 : MQTT over WebSockets, encrypted, authenticated