Bellwar
January 31, 2024, 11:59am
1
Hi there,
I looked through many topics here on the forum and the Full Tunnel guide in KB.
I just got confused if it is actually possible and if it is, how am I supposed to set it up?
I don’t understand where I am supposed to do Step 1 since it asks for “iptablets” (and from what I understand that is Linux config).
I wanted to route internet traffic from one Windows PC over ZeroTier to another Windows PC. As you can tell from this post, I don’t have a lot of background in this and it is hard for me to work with it. I am able to set up a basic VPN for Minecraft or something similar but have trouble doing anything advanced. So any guidance would be very helpful.
Found a guide on GitHub that is easy and clean to use. Why it still isn’t implemented into KB, I have no idea.
opened 12:23PM - 16 Nov 21 UTC
closed 10:02PM - 18 Apr 22 UTC
Type: Feature Request or Suggestion
It seems have no windows case for full tunneling after googling, so tried myself… and worked, if someone succeed, please let me know
1, install and config zerotier (1.65) on both pc, and both pingable eachother through zerotier ip address,
say home physical|zerotier ip :192.168.1.110/24|172.28.12.34, office:192.168.2.222/24|172.28.56.78 (both zerotier ip range 172.28.0.0/16)
2, add a default route on zerotier web dashboard: 0.0.0.0/0 via 172.28.12.34
3, test:
3.1 pathping 8.8.8.8 on office pc, first hop should be 192.168.2.222
3.2 ping 8.8.8.8, success
3.3 enable click Allow Default Route on zerotier app
3.4 pathping 8.8.8.8 on offics pc, first hop should be 172.28.56.78
3.5 ping 8.8.8.8, will fail
3.6 uncheck Allow Default Route on zerotier app
4, config home pc as edge nat router (most important!):
ref https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/setup-nat-network
4.1 enable home pc hyper-v function of windows on control panel, restart
4.2 open powershell:
`New-VMSwitch -SwitchName "SwitchName" -SwitchType Internal`
↑add a new virtual switch
`Get-NetAdapter`
↑note the ifIndex number of new added switch, say 42
`New-NetIPAddress -IPAddress 172.28.0.1 -PrefixLength 16 -InterfaceIndex 42`
↑set address for new virtual switch, ifIndex 42, should same ip range as zerotier adapter
`New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 172.28.0.0/16`
↑enable nat, set ip range same as zerotier adapter ip range
5, test again
5.1 pathping 8.8.8.8 on office pc, first hop should be 192.168.2.222
5.2 ping 8.8.8.8, success
5.3 enable click Allow Default Route on zerotier app
5.4 pathping 8.8.8.8 on offics pc, first hop should be 172.28.56.78
5.5 ping 8.8.8.8, **SHOULD SUCCESS**
5.6 test webpage like whatismyipaddress, result should be your home location city/isp/country address
system
Closed
March 1, 2024, 4:13pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.