UTMStack does not function in 10.0.0.0/24 network
Describe the bug
Attempting to install the utmstack agent on Fedora 40, Ubuntu 20.04 LTS, and Windows 10 all fail with "UTMStack: error: one or more of the requiered ports are closed. Please open ports 9000 and 50051."
To Reproduce
Steps to reproduce the behavior: 0. Deploy UTMStack in a 10.0.0.0/24 network
- Go to 'Integrations'
- Click on an agent
- Copy install command and execute on host
- See error
Expected behavior
The agent to install successfully
Environment
- OS: Windows 10, Ubuntu 22.04, Fedora 40
- Browser: Firefox
- Version: 126
Additional context
Docker swarm ingress network sets up 10.0.0.0/24 which conflicts with external routing.
Moving it to 192.168.10.0/24 allows me to connect an agent from 192.168.10.0/24, but 10.0.0.0/24 still fails with the same error.
for i in $(docker network inspect -f '{{range .Containers}}{{.Name}} {{end}}' ingress); do docker network disconnect -f ingress $i; done;
Remove all containers from the ingress network
docker service rm $(docker service ls -q)
Remove all services
docker network rm ingress
Delete ingress network
docker network create --driver overlay --ingress --subnet=10.100.0.0/16 --gateway=10.100.0.2 ingress
Recreate ingress network with a different subnet that doesn't conflict
/home/utmstack/installer
Re-run installer to initialize the swarm
https://UTMStackServer/app-management/settings/connection-key
Generate new connection key (maybe needed?)
This should probably be a configurable option during initial setup.
Same issue in discussions: https://github.com/orgs/utmstack/discussions/599#discussioncomment-9260240