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:44 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

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/wireguard

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git