Cannot access service using docker-swarm, but without
The problem was that the vpn network has the subnet 10.0.0.0/8 and the ingress network of docker swarm has the subnet 10.0.0.0/24.
So there were a conflict.
Fix:
Changing either the vpn subnet or the ingress network subnet.