VPN Troubleshooting Guide
1. Interface Already Exists​
Problem: When running zcli vpn up
, you get an error like:
Solution: Reset the VPN connection by running:
2. Hostname Resolution​
Problem: Even with VPN successfully connected, hostname resolution fails with errors like:
- The issue is known to happen on macOS and rarely on Windows
Solution: Append .zerops
to the hostname, even when VPN shows as connected:
Windows OS tip
In the Advanced TCP/IP Settings dialog, navigate to the DNS tab and confirm that "zerops" appears in the "Append these DNS suffixes (in order)" list. If missing, add it using the Add button.
3. WSL2 VPN Connection​
Problem: VPN not running in WSL2
Solution: This might occur because systemd
is not running in WSL2 by default. To fix:
- Run
sudo -e /etc/wsl.conf
- Add
system=true
to[boot]
section - Comment out the first line
LABEL=cloudimg-rootfs / ext4 defaults 0 1
- In
cmd.exe/PowerShell
runwsl --shutdown
to restart WSL2