[EdgeRouter] PtP links using /32 subnet mask

Skyler Mäntysaari samip537 at kapsi.fi
Sun Nov 1 19:39:42 CET 2020


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.



More information about the WireGuard mailing list