Build your zerotier LAN for mac, win and wsl and android
- Basic tutorial : https://github.com/xubiaolin/docker-zerotier-planet
200 Join OK
on windows but windows is not listed in webui?- Double check the Port you selected when
./deploy.sh
is allows in your server security group! - Make sure you’ve
Easy Setup
the ip range (like in tutorial) (Don’t make the ip range look like your ethernet)
- Double check the Port you selected when
wsl2 special part
- For wsl2, if
zerotier join
completely failed and showcannot bind to local control interface port 9993
in zerotier-one’s log:- Make sure this in
wslconfig
, this is necessary (ref: perplexity):
- Make sure this in
1[boot]2systemd=true
- For wsl2, also make sure
/etc/ssh/sshd_config
looks like this:
1Port 2222 # winows22端口另有他用,改为2222,避免冲突2ListenAddress 0.0.0.0 # 如果需要指定监听的IP则去除最左侧的井号,并配置对应IP,默认即监听PC所有IP3PermitRootLogin yes # 如果你需要用 root 直接登录系统则此处改为 yes4PasswordAuthentication yes # 将 no 改为 yes 表示使用帐号密码方式登录5AllowTcpForwarding yes6AllowUsers *
- (Maybe necessary) Allow 2222 port in windows firewall rule settings.
- ssh like this:
ssh [email protected] -p 2222
- If failed, try adding
RequestTTY force
in ssh config to wsl
- If failed, try adding
- Success!
Android
- Remeber to set planet file in upright
...
- After setting, you need restart the app
Rustdesk
- Screen bluring?
- the screen orientation rustdesk got is wrong! 可能是实际竖屏,传输横屏,就雪花屏了
- Too high latency?
- Seems to relate to encoder, try other video encode like vp8 (av1 seems the best).
Rustdesk
- Directly input your ip in rustdesk
- Ok!
Problems
- Can’t ping wsl2 though webui show all devices are ONLINE?
- Try pinging from each other (win, wsl, mac)
- Do nothing and wait.
- Done!