ZT android mobile data problem
I had a good working Zerotier network for a long time. I have 2 routers with Openwrt ( 1 is 192.168.5.1 and the second 192.168.6.1) they are conected from two locations and Lan devices can see eachother by 192.168.x.x adresses.
I have webcameras in both networks and many Tasmota devices -IoT. All is working good when logged to wifi.
But when connecting with Android Zerotier app with mobile data :
- i cant login to interface of both Routers
- Image and interface from camera's is not available
- Tasmota devices working on port 80 are respondind ! Working Good!
- ZEROTIER Lan adresses 192.168.195.0/24 are not responding
- When I create hotspot on other phone and connect with Zerotier app to ZT network with phone then All is working GOOD.
- Tested on other versions of ZT apk PLEASE HELP becouse my phone copnectrd by mobile data is not usable!
SAMSUNG S23 5G Zt app 1.14.0_2
I have the same problem, I haven't found a solution yet.
SAMSUNG S23 zt app 1.14.0_2
Same here.
Also,
#2334
I had changed my network at the same time and I thought it was a problem on my end, but testing today showed it was not.
I can scan ports with Vernet Android App, the pings from the same app don't look disastrous, but HTTP and DNS traffic can no longer flow.
I have found solution for me.
Its the mobile data apn. Set it to ipv4.
I have set Protocol apn IPv4 Type apn default,supl
It didn't work for me 😓. I can see some queries reach my router, and very simple forbidden pages go through and come back, but nothing else. I still cannot access sites behind bridge. I tried stopping the app, clearing cache, and restarting after changing the APN, but didn't help either.
Add at first line in Rules on my.zerotier.com
accept ethertype arp;
Tell me more about devices and config in your Zt network and home network, ZT Rules, do you use DNS (setting in app on phone). Did you tried to use another Phone, mayby not a Samsung ?
Ps. I dońt know how I changed Posts as completed?
Hello everyone, I managed to solve the problem, to do this you need to change the mtu value for your zerotier network, this is done with this command:
curl -X POST "https://my.zerotier.com/api/v1/network/YOUR ID" -H "Authorization: token YOUR TOKEN" -d '{"config": {"mtu": 1388}}'
The mtu value must be selected empirically, I chose in the range of 1354-1388, after that the zerotier client will start working via the mobile data network, even if the status shows that the client is offline, everything will work properly.
Samsung S23 zt app 1.14.0-2
Works for me:
- mtu = 1388
- Mobile provider apn settings = ipv4 only
How change mtu on android app or phone???
You have to change mtu on your ztnet controller.
Or if you use cloud due that command (need api token):
curl -X POST "https://my.zerotier.com/api/v1/network/YOUR ID" -H "Authorization: token YOUR TOKEN" -d '{"config": {"mtu": 1388}}'
For some reasons i've faced with another issues, there:
- client from mobile phone have connection, but have no ping
- after reboot or fly mode on and off then, everything is fine
- that problem having place often after changing from wifi to mobile
Having no idea now
After change mtu to 1388 laptop has no connnection to remote Router. Setting 2800 back and conection is working on laptop normal.
Lower mtu helps me for connection using phone as a router for laptop. But mobile app still don't working using mobile data. It can connect randomly and temporary. Maybe main reason - some android firmwares have so hard optimisation settings and zerotier can't work properly.
Works with a very low value of mtu (1280 here), but it seems phone specific.