TonyT
TonyT
ZZerops
Created by TonyT on 4/21/2025 in #💪・community-support
VPN problem
Hi, new Zerops user here. I've created a Postgres service and was trying to connect from local laptop, but the VPN is failing.
zcli version

Using config file: /home/tony/.config/zerops/.zcli.yml
zcli version v1.0.43 (go1.24.2) linux/amd64
zcli version

Using config file: /home/tony/.config/zerops/.zcli.yml
zcli version v1.0.43 (go1.24.2) linux/amd64
Then
zcli vpn up
zcli vpn up
failed, so I tried
sudo wg-quick up /home/tony/.config/zerops/zerops.conf

[#] ip link add zerops type wireguard
[#] wg setconf zerops /dev/fd/63
[#] ip -4 address add 10.8.60.3/32 dev zerops
[#] ip -6 address add fda0:5ef:20d:c0df:10:8:60:3/128 dev zerops
[#] ip link set mtu 1350 up dev zerops
[#] ip -6 route add fda0:5ef:20d:c0df::/64 dev zerops
[#] ip -6 route add fda0:5ef:20d:c0de::/64 dev zerops
[#] ip -4 route add 10.8.60.0/22 dev zerops
[#] ip -4 route add 10.8.56.0/22 dev zerops
[#] resolvectl dns zerops 10.8.56.1
Failed to set DNS configuration: Could not activate remote peer 'org.freedesktop.resolve1': activation request failed: unknown unit
[#] ip link delete dev zerops
sudo wg-quick up /home/tony/.config/zerops/zerops.conf

[#] ip link add zerops type wireguard
[#] wg setconf zerops /dev/fd/63
[#] ip -4 address add 10.8.60.3/32 dev zerops
[#] ip -6 address add fda0:5ef:20d:c0df:10:8:60:3/128 dev zerops
[#] ip link set mtu 1350 up dev zerops
[#] ip -6 route add fda0:5ef:20d:c0df::/64 dev zerops
[#] ip -6 route add fda0:5ef:20d:c0de::/64 dev zerops
[#] ip -4 route add 10.8.60.0/22 dev zerops
[#] ip -4 route add 10.8.56.0/22 dev zerops
[#] resolvectl dns zerops 10.8.56.1
Failed to set DNS configuration: Could not activate remote peer 'org.freedesktop.resolve1': activation request failed: unknown unit
[#] ip link delete dev zerops
The docs say that first use of the VPN should ask to install the Zerops VPN daemon, but I didn't see that. Any ideas? Thanks
3 replies