Skip to content

Instantly share code, notes, and snippets.

@m0ar
Created March 1, 2018 08:28
Show Gist options
  • Save m0ar/d7ec1719a26c9e4b24af1a0a9ce43e20 to your computer and use it in GitHub Desktop.
Save m0ar/d7ec1719a26c9e4b24af1a0a9ce43e20 to your computer and use it in GitHub Desktop.
Wonky wg-quick behaviour
br0d at archvard in ~
λ wg-quick up mullvad-se1
wg-quick must be run as root. Please enter the password for br0d to continue:
[#] ip link add mullvad-se1 type wireguard
[#] wg setconf mullvad-se1 /dev/fd/63
[#] ip address add 10.99.5.77/32 dev mullvad-se1
[#] ip address add fc00:bbbb:bbbb:bb01::54d/128 dev mullvad-se1
[#] ip link set mtu 1270 dev mullvad-se1
[#] ip link set mullvad-se1 up
[#] resolvconf -a tun.mullvad-se1 -m 0 -x
[#] wg set mullvad-se1 fwmark 51820
[#] ip -6 route add ::/0 dev mullvad-se1 table 51820
RTNETLINK answers: No such device
[#] resolvconf -d tun.mullvad-se1
[#] ip link delete dev mullvad-se1
br0d at archvard in ~
λ wg-quick down mullvad-se1
wg-quick: `mullvad-se1' is not a WireGuard interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment