VPN connection failed

I have an issue with the IP ranges, and it is when you set up a VPN connection with two PCs (server and client) it works normally but there are cases where it stops working. It is verified that all the configuration is correct and when you change the IP range the connection automatically begins to work.

Are you using any Flow Rules?

Next time it happens, can you run a “zerotier-cli listpeers” on both PCs (clear out your IP and ZT Address from the output). Do this both while the issue is present, and then again after you fixed t. That might help show what’s happening when the issue presents.

The flow rules that we use are those that come by default. I send you the list of zerotier-cli pairs of Server and Client

Server (when failed)

C:\Windows\system32>zerotier-cli listpeers
200 listpeers
200 listpeers 097293f0a4 80.103.163.69/57702;-24;-86 62 1.12.2 LEAF
200 listpeers 12ac4a1e71 35.209.178.86/21001;488;144 292 1.12.2 LEAF
200 listpeers 343de741ce 213.0.54.18/29066;5074;5034 47 1.12.2 LEAF
200 listpeers 40cff006d1 2.136.19.233/6609;894;894 63 1.12.1 LEAF
200 listpeers 41d49af6c2 35.208.251.87/21040;1698937263586;270 -1 1.12.2 LEAF
200 listpeers 48d6023c46 35.208.4.158/21042;488;144 206 1.12.2 LEAF
200 listpeers 56e256d39d 83.48.38.138/60467;8476;8408 68 1.12.2 LEAF
200 listpeers 62f865ae71 50.7.252.138/9993;10630;144 329 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;10920;270 234 - PLANET
200 listpeers 8056c2e21c 35.208.205.252/21009;488;144 -1 1.12.2 LEAF
200 listpeers 856127940c 35.209.81.208/21038;488;270 -1 1.12.2 LEAF
200 listpeers 9e1948db63 35.209.81.208/21220;4696;4696 -1 1.12.2 LEAF
200 listpeers a09acf0233 35.209.66.142/47962;5574;5324 -1 1.12.2 LEAF
200 listpeers abc5caf838 88.6.71.92/9993;12864;8632 35 1.4.6 LEAF
200 listpeers acda76657d 185.169.164.154/1035;1756;1788 110 1.12.1 LEAF
200 listpeers cafe04eba9 - -1 - PLANET
200 listpeers cafe9efeb9 104.194.8.134/9993;10630;144 360 - PLANET
200 listpeers d1141ca973 81.42.208.222/1136;1540;488 58 1.12.2 LEAF
200 listpeers d8b33facdf 84.78.201.142/1926;5354;5260 86 1.12.2 LEAF
200 listpeers e00a1ab7dd 82.130.141.218/51235;394;394 13 1.12.2 LEAF
200 listpeers ebe7fbd445 35.209.184.211/37296;488;270 -514 1.12.2 LEAF
200 listpeers fada62b015 35.209.87.213/21042;488;176 -1 1.12.2 LEAF
200 listpeers fec7128e70 85.87.104.48/48228;3318;3318 16 1.12.2 LEAF

C:\Windows\system32>

Server (working)

C:\Windows\system32>zerotier-cli listpeers
200 listpeers
200 listpeers 097293f0a4 80.103.163.69/57702;1230;1156 74 1.12.2 LEAF
200 listpeers 12ac4a1e71 35.209.178.86/21001;4940;4690 292 1.12.2 LEAF
200 listpeers 343de741ce 213.0.54.18/31752;2662;452 58 1.12.2 LEAF
200 listpeers 40cff006d1 2.136.19.233/6588;1698937807194;132 -1 1.12.1 LEAF
200 listpeers 41d49af6c2 35.208.251.87/44432;4940;9440 250 1.12.2 LEAF
200 listpeers 48d6023c46 35.208.4.158/21042;4940;4658 206 1.12.2 LEAF
200 listpeers 56e256d39d 83.48.38.138/28571;580;580 32 1.12.2 LEAF
200 listpeers 62f865ae71 50.7.252.138/9993;4940;4620 320 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;4940;4690 250 - PLANET
200 listpeers 8056c2e21c 35.208.205.252/21009;5372;5372 -1 1.12.2 LEAF
200 listpeers 856127940c 35.209.81.208/21038;272;272 -1 1.12.2 LEAF
200 listpeers 9e1948db63 35.209.81.208/21220;10210;10940 -1 1.12.2 LEAF
200 listpeers a09acf0233 35.209.66.142/47962;3610;3610 -1 1.12.2 LEAF
200 listpeers abc5caf838 88.6.71.92/9993;10530;8018 48 1.4.6 LEAF
200 listpeers acda76657d 185.169.164.154/1029;678;452 -1 1.12.1 LEAF
200 listpeers cafe04eba9 - -1 - PLANET
200 listpeers cafe9efeb9 104.194.8.134/9993;25376;4556 384 - PLANET
200 listpeers d1141ca973 81.42.208.222/48657;226;196 36 1.12.2 LEAF
200 listpeers d8b33facdf 84.78.201.142/46808;2220;868 32 1.12.2 LEAF
200 listpeers e00a1ab7dd 82.130.141.218/51235;7674;7674 24 1.12.2 LEAF
200 listpeers ebe7fbd445 35.209.184.211/37296;4940;4690 -514 1.12.2 LEAF
200 listpeers fada62b015 35.209.87.213/21042;23516;23516 -1 1.12.2 LEAF
200 listpeers fec7128e70 85.87.104.48/9993;1544;1544 31 1.12.2 LEAF

C:\Windows\system32>

client (when failed):

C:\Users\Udal_Kiroldegia>zerotier-cli listpeers
200 listpeers
200 listpeers 57ed51b336 46.231.3.118/51487;114;104 22 1.6.6 LEAF
200 listpeers 62f865ae71 50.7.252.138/9993;2894;97812 321 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;2894;97894 238 - PLANET
200 listpeers cafe04eba9 84.17.53.155/9993;2240;98072 60 - PLANET
200 listpeers cafe9efeb9 104.194.8.134/9993;2894;97754 378 - PLANET
200 listpeers ebe7fbd445 35.209.184.211/37296;2240;1996 -756 1.12.2 LEAF

client (in operation)

C:\Users\Udal_Kiroldegia>zerotier-cli listpeers
200 listpeers
200 listpeers 57ed51b336 46.231.3.118/51487;4904;4894 23 1.6.6 LEAF
200 listpeers 62f865ae71 50.7.252.138/9993;46248;45938 310 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;46250;46012 237 - PLANET
200 listpeers cafe04eba9 84.17.53.155/9993;2862;46190 60 - PLANET
200 listpeers cafe9efeb9 104.194.8.134/9993;46250;45894 356 - PLANET
200 listpeers ebe7fbd445 35.209.184.211/37296;13572;14338 -756 1.12.2 LEAF