https://netmaker.org logo
#install
Title
# install
c

creamy-judge-86664

06/06/2022, 3:17 PM
Caddy based setup vs Traefikl
What's the difference between the traefik setup and caddy based setup? Are there some improvements worth the trouble of switching or should I stick with caddy?
j

jolly-london-20127

06/06/2022, 3:18 PM
Traefik will proxy MQ. This means 8883 no longer has to be exposed directly. Traefik also removes the port "80" requirement, so really, all you need is port 443, which is good for security.
Some corporate environments restrict reachable destination ports with their firewall, and will not let the clients reach 8883/tcp on a remote server
However, if you're not deploying for a corporate use case and dont care about minimizing ports, you can just stick with Caddy
c

creamy-judge-86664

06/06/2022, 3:20 PM
Would it be possible to do that with Caddy as well? I have already set everything to be caddy based
b

bored-island-21407

06/06/2022, 3:23 PM
only if someone writes a caddy module to proxy mqtt traffic. Such a caddy module does not exist as far as I am aware.
a

ambitious-mouse-49215

06/06/2022, 3:25 PM
https://caddyserver.com/download select mholt/caddy-l4 should be possible but the standard config of caddy isn't working anymore
c

creamy-judge-86664

06/06/2022, 3:25 PM
Ok, thanks. The security issues are not huge problems for me.
a

ambitious-mouse-49215

06/06/2022, 3:30 PM
51821 and above is fine? Just a noob question 😅
j

jolly-london-20127

06/06/2022, 3:43 PM
yeah, because it's UDP, which is usually OK, but MQTT needs to be TCP, which is typically more restricted
a

ambitious-mouse-49215

06/06/2022, 4:03 PM
and get a connection to mqtt with uft isn't possible?
*udp
b

bored-island-21407

06/06/2022, 4:22 PM
No, mqtt is tcp
a

ambitious-mouse-49215

06/06/2022, 4:24 PM
ok thanks for the explanation