Development discussion of WireGuard
 help / color / mirror / Atom feed
* [EdgeRouter] PtP links using /32 subnet mask
@ 2020-11-01 18:39 Skyler Mäntysaari
  0 siblings, 0 replies; only message in thread
From: Skyler Mäntysaari @ 2020-11-01 18:39 UTC (permalink / raw)
  To: wireguard

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-09 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 18:39 [EdgeRouter] PtP links using /32 subnet mask Skyler Mäntysaari

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).