https://netmaker.org logo
Hi. Is it possible to change port for communicatin...
# netmaker
w
Hi. Is it possible to change port for communicating between netmaker server and netmaker clients? I want to hide dashbord. from public access via host firewall. But if I blocked a port 443, my netmaker clients will not communicate with server too. Thank you
j
You can do that, but it would probably be easier to change the dashboard port, since there are less dependencies
w
How can I change dashbord port? Can you help me with that issue?
j
I'm not sure exactly, but I think you could change this line: - traefik.http.services.netmaker-ui.loadbalancer.server.port=80 to a different port
w
But if I don't edit this file dashboard is available via 443 port 🤔
j
hi, you can hide your dashboard without changing the port
you can do this in your docker compose in the netmaker-ui labels section:
Copy code
you need to add this line:
      - traefik.http.middlewares.nmui-security-1.ipwhitelist.sourcerange=YOUR_IP_CIDR
and change this line:
      - traefik.http.routers.netmaker-ui.middlewares=nmui-security@docker
to this:
      - traefik.http.routers.netmaker-ui.middlewares=nmui-security-1@docker,nmui-security@docker
w
Thank you, sir! I saw this on github issues.
5 Views