So am trying with the below:
VM IP: 192.168.1.250
/etc/hosts on the VM:
mydomainname.tld <WAN_ADDRESS>
.env:
ZITI_IMAGE=openziti/quickstart
ZITI_VERSION=latest
ZITI_CONTROLLER_RAWNAME=ziti-controller
ZITI_CTRL_PORT=8440
ZITI_EDGE_CONTROLLER_PORT=8441
ZITI_EDGE_ROUTER_PORT=8442
ZITI_EDGE_ROUTER_LISTENER_BIND_PORT=10080
ZITI_ZAC_PORTTLS=8443
EXTERNAL_DNS=mydomainname.tld
ZITI_NETWORK_NAME=${EXTERNAL_DNS}
ZITI_CONTROLLER_HOSTNAME=${EXTERNAL_DNS}
ZITI_EDGE_ROUTER_RAWNAME=${EXTERNAL_DNS}
ZITI_EDGE_ROUTER_DESIRED_RAWNAME=${EXTERNAL_DNS}
ZITI_EDGE_ROUTER_HOSTNAME=${EXTERNAL_DNS}
ZITI_EDGE_ROUTER_ROLES=public
docker-compose-yaml from: Connect Desktop Tunneler to Docker Quickstart on seperate host - #3 by TheLumberjack
router port forwards:
incoming on WAN ADDRESS: 8440 - 8442 TCP to 192.168.250
incoming on WAN ADDRESS: 6262 TCP to 192.168.250
incoming on WAN ADDRESS:10080 TCP to 192.168.250
I can use nginx to reverse proxy zac so am not including 8443 here.
I would use things like SNI but I already am using mydomainname.tld for a webserver, on nginx and pihole I specify hostnames.
On running docker-compose up it remains stuck at:
ziti-console-1 | waiting for server key to exist...
ziti-edge-router-1 | [ 25.387] ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {error=[error connecting ctrl (dial tcp <WAN_ADDRESS>:6262: i/o timeout)] endpoint=[tls:ziti:6262
]} unable to connect controller
Not sure how to proceed.