Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Rémi Lapeyre" <remi.lapeyre@lenstra.fr>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Missing route table configuration on "Quick Start" section
Date: Fri, 16 Jul 2021 14:53:30 +0200	[thread overview]
Message-ID: <E42173AE-ECFE-46E2-8F33-65F113F7A601@lenstra.fr> (raw)

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 192.168.2.1/24
# ip address add dev wg0 192.168.2.1 peer 192.168.2.2
# wg setconf wg0 myconfig.conf
# wg set wg0 listen-port 51820 private-key /path/to/private-key peer ABCDEF... allowed-ips 192.168.88.0/24 endpoint 209.202.254.14:8172
# 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.

Cheers,
Rémi

                 reply	other threads:[~2021-08-08 23:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E42173AE-ECFE-46E2-8F33-65F113F7A601@lenstra.fr \
    --to=remi.lapeyre@lenstra.fr \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).