Hotspot for Zerotier

Hi all

I am discovering zerotier, kind of a p2p vpn solution. I would have my MiFi to be a hotspot for zerotier network. The MiFi itself will run the zerotier client and gets an extra interface. It’s unmanaged but gets an IP from the zerotier software (let’s say 192.168.1.23). On that same virtual zerotier network there’s an outgoing gateway (192.168.1.50). I would want the traffic of my hotspot interface to be forwarded to the zerotier network, with NAT.

I tried already some things, but I don’t seem to be able to forward the traffic from hotspot to vpn. If I try to forward to the classic wan things are working fine. If I try to ping out of interface zt0, it works.

Please advise me how I can change the “output zone” of hotspot (or any other zone) so that it goes out to the internet on the vpn zone.

511-A2003-5-BDF-4-AA7-AE6-D-CB877-F16534-A
94490-F2-B-2625-49-D7-8684-D5687-EE09-FDB
30-FF509-A-976-C-41-F6-8-DC5-275-F864-AAC3-C
DAF91514-03-B4-4573-89-C8-C6-E949-B521-DF

Thanks

You can refer to this guide.

That’s exactly what I tried. Traffic to 192.168.1.x subnet (vpn subnet) goes out of the vpn interface. All other traffic is not going through the vpn tunnel.

If I do a “ping 8.8.8.8” from a device on the hotspot network then I get a “destination port unreachable”. If I ping from the MiFi itself, with specification “ping -I zt_nameofvpninterface 8.8.8.8” it is working fine and leaving on vpn interface.

+1
I am in the same situation and have been pulling my hair out already.
When following that guide mentioned above, the slate successfully joins the zerotier network. Other clients on that network can at least ping the slate zerotier ip, but no client from LAN /WLAN side of the slate can access or even ping resources on the zerotier network.
I am not an expert using openwrt so cannot debug that deeper than just that. Hopefully someone will get this to work.

TIA,
hominidae

Is there an portal page in zerotier ?

Can you disable DNS rebind protection and try any http (not https) website to see if the portal can pop up?

No, there is no portal in the zerotier client.
Also this is not a problem with DNS, as access to direct IPs on the zerotier layer will not work as well.
Zerotier is a virtual Ethernet layer, like gre- tunnels, or EOIP or similar to a central zerotier service.