-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
For some reason, wg set doesn't work, I am having to resort to using wg setconf in /usr/bin/namespaced-wireguard-vpn-interface file -
wg setconf "$WIREGUARD_NAME" /home/user/Projects/wgns/wgns.conf
# wg set "$WIREGUARD_NAME" \
# private-key <(echo "$WIREGUARD_PRIVATE_KEY") \
# peer "$WIREGUARD_VPN_PUBLIC_KEY" \
# endpoint "$WIREGUARD_ENDPOINT" \
# allowed-ips "$WIREGUARD_ALLOWED_IPS" || die
By 'doesn't work', I mean I cannot ping other wireguard clients using sudo ip netns exec vpn ping 10.66.66.1
To clarify, I have properly filled in env variables in /etc/namespaced-wireguard-vpn/namespaced-wireguard-vpn.conf file
Following is my wgns.conf file -
[Interface]
PrivateKey = ****
[Peer]
PublicKey = ****
PresharedKey = ****
Endpoint = ****
AllowedIPs = 0.0.0.0/0,::/0
OS - Arch Linux 5.16.2-arch1-1
Wireguard version - wireguard-tools v1.0.20210914
I don't know how to debug/check logs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels