Missing route table configuration on "Quick Start" section

Rémi Lapeyre remi.lapeyre at lenstra.fr
Fri Jul 16 12:53:32 UTC 2021

Hi, in the “Command-line Interface” paragraph of the “Quick Start” section at https://www.wireguard.com/quickstart/#command-line-interface it seems to me like the list of commands given: 

# ip link add dev wg0 type wireguard
# ip address add dev wg0
# ip address add dev wg0 peer
# wg setconf wg0 myconfig.conf
# wg set wg0 listen-port 51820 private-key /path/to/private-key peer ABCDEF... allowed-ips endpoint
# ip link set up dev wg0

is missing the route table configuration with “ip rule add …”. Those are given just a bit later in the GIF that shows 'wg-quick’ working but I’m not sure whether configuring the wireguard interface with the command given will actually work.


More information about the WireGuard mailing list