Connecting to clients under ZeroTier router via Windows client?

6,483

It seems that I need to manually add a route on Windows client. I use:

route add 172.22.0.0 MASK 255.255.0.0 10.144.0.209 IF 35
          ^home subnet                ↑               ^ZertTier interface number
                                      IP of my OpenWRT gateway router

After that I could successfully trace route:

C:\WINDOWS\system32>tracert 172.22.1.2
  1   215 ms   124 ms   115 ms  10.144.0.22
  2   122 ms   117 ms   116 ms  172.22.1.2
Share:
6,483

Related videos on Youtube

Dia
Author by

Dia

Updated on September 18, 2022

Comments

  • Dia
    Dia almost 2 years

    I setup ZeroTier on my home OpenWRT router.

    I can connect to devices in my home, form a Android ZeroTier client.

    However I cannot connect to home devices from my workplace ZeroTier Windows client. This workplace Windows client could only see same level ZeroTier clients (my phone and my home router)

    The graph of my network setup: zerotier graph

    Flow rules in https://my.zerotier.com/network/ only have accept;.

    My Windows zerotier one looks like:

    enter image description here

    Windows PC setting in zerotier central looks like:

    enter image description here

    UPDATE: Answering grawity's questions:

    Info from zerotier-cli on Windows client:

    C:\WINDOWS\system32>zerotier-cli info
    200 info ef51c862db 1.2.12 TUNNELED
    

    If I try to trace route to 172.22.1.1, it seems my workplace gateway (10.10.15.241) router takes it:

    C:\WINDOWS\system32>tracert 172.22.1.1
      1    <1 ms    <1 ms    <1 ms  my.router [10.10.15.241]
      2     1 ms     2 ms     2 ms  172.22.1.1
    

    I tried to ping 10.144.0.209 and 172.22.1.1, and use Wireshark to inspect. When pinging 10.144.0.209, ICMP packages only go through ZeroTier interface. When pinging 172.22.1.1, ICMP packages only go to my physical LAN interface.

    The firewall setting in my OpwnWRT router looks like:

    firewall zeroTierVpn is the zone of the ZeroTier interface.

    Question:

    What should I do so my Windows zerotier client could connect to my home device?

    Thanks.

  • Dia
    Dia almost 5 years
    Thanks for your reply. I have updated my question, hope those information could help resolving?