I'm kind of stumped as to why my Zrok instance does not work so looking for assistance n correcting my thinking. I have a DNS zone, share.domain, and i zrok on a ubuntu box where the hostname is zrok.share.domain. The zrok host is nat'ed behind a the firewall and is using a self hosted instance as per the instructions Self-hosting guide for Docker | Zrok. Is the firewall configuration on the page implying that I need to open these ports to the internet for incoming traffic? It does say that they publish which implies as outgoing traffic i do not need to open incoming holes? My local machine and running ss -lntp i see ports 12080, 3022 on 0.0.0.0 and 18080, 8080, 8081 on localhost (127.0.0.1). I can nslookup ziti.share.domain and it resolves to my wan address. If I try and share files with 'zrok share public --backend-mode web .' i get an error "running http web backend: loading new config: http app module: start: listening │
│on zrok/0765xy5phd1c:0: failed to listen: no apiSession, authentication attempt failed: Post │
│"https://ziti.share.domain:1280/edge/client/v1/authenticate?method=cert": context deadline exceeded (Client.Timeout exceeded while│
│awaiting headers)"
If i look at the logs the only interesting one is the ziti quickstart which appears to have dns certificate issues as below but i am not sure if this is my issue. The host is a clean ubuntu instance specifically for this.
Version of zrok is v0.4.41.
Can anyone suggest what I have wrong?
[ 8.014] INFO ziti/tunnel/dns.NewDnsServer: starting dns server...
[ 8.014] INFO ziti/router/xgress_edge.(*CertExpirationChecker).Run: waiting 8591h59m59.126432325s to renew certificates
[ 8.827] ERROR transport/v2/tls.(*sharedListener).processConn [tls:0.0.0.0:1280]: {remote=[172.19.0.3:53340] error=[remote error: tls: bad certificate]} handshake failed
[ 8.997] INFO ziti/router/state.(*apiSessionAddedHandler).applySync: finished synchronizing api sessions [count: 1, syncId: cm26skcuf000401rsq15el7d7, duration: 27.081µs]
[ 10.016] INFO ziti/tunnel/dns.NewDnsServer: dns server running at 127.0.0.1:53
[ 10.016] INFO ziti/tunnel/dns.(*resolver).AddHostname: adding ziti-tunnel.resolver.test = 19.65.28.94 to resolver
[ 10.030] ERROR ziti/tunnel/dns.NewDnsServer: system resolver test failed: failed to resolve ziti-tunnel.resolver.test: lookup ziti-tunnel.resolver.test on 127.0.0.11:53: no such host
ziti-tunnel runs an internal DNS server which must be first in the host's
resolver configuration. On systems that use NetManager/dhclient, this can
be achieved by adding the following to /etc/dhcp/dhclient.conf:
prepend domain-name-servers 127.0.0.1:53;
[ 10.030] INFO ziti/tunnel/intercept.SetDnsInterceptIpRange: dns intercept IP range: 100.64.0.1 - 100.127.255.255