Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Skyler Mäntysaari" <samip537@kapsi.fi>
To: wireguard@lists.zx2c4.com
Subject: [EdgeRouter] PtP links using /32 subnet mask
Date: Sun, 1 Nov 2020 20:39:42 +0200	[thread overview]
Message-ID: <dfeff1eb-47a9-32ad-ac6b-6d6cc231df5f@kapsi.fi> (raw)

Hi there list,

Does anyone know how can I achieve this configuration in EdgeRouter?
Like how do I tell it what the peer address actually is?

wg0.conf:
-------------------------------------------------------------------------------------------------------------------------------
[Interface]
PrivateKey = <snip>
#Address = 172.22.114.96/32,fe80::22b:42ff:42bb:3db0/64
PostUp = /usr/sbin/ip addr add 172.22.114.97/32 dev hel1_zotan_dn42 peer
172.20.177.35
PostUp = /usr/sbin/ip addr add fe80::22b:42ff:42bb:5db0/64 dev
hel1_zotan_dn42 peer fe80::4
ListenPort = 52341
Table = off

[Peer]
PublicKey = B+3QYRU5UqaWYAsKMfyk7wqDzsFZ31RluCakeXEVm2E=
Endpoint =  <snip>
PersistentKeepalive = 25
AllowedIPs = 0.0.0.0/0,fd00::/8,fe80::/64
---------------------------------------------------------------------------------------------------------------------------------

P.S I did tweak the interface script on EdgeOS so it allows duplicate
addresses.


                 reply	other threads:[~2020-11-09 22:43 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=dfeff1eb-47a9-32ad-ac6b-6d6cc231df5f@kapsi.fi \
    --to=samip537@kapsi.fi \
    --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).