wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* own interface address and peer address in same Subnet
@ 2018-05-29 18:04 Martin/Geno
  2018-05-29 18:16 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Martin/Geno @ 2018-05-29 18:04 UTC (permalink / raw)
  To: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

Hi,
i use at my wireguard 'server' ndp_proxy to announce - thats the reason
why i could use the same interface address subnet, then the endpoint is in.

Example client configuration:

[Interface]
Address = 2a01:1337::3/64

[Peer]
AllowedIPs = 0.0.0.0/0,::/0
PersistentKeepalive = 25
Endpoint = [2a01:1337::2]:48574


Is there a solution for this 'bug' - there should be a validation and
exclude of endpoint addresses on the routing table fwmark

A nice day
 Geno


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: own interface address and peer address in same Subnet
  2018-05-29 18:04 own interface address and peer address in same Subnet Martin/Geno
@ 2018-05-29 18:16 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2018-05-29 18:16 UTC (permalink / raw)
  To: Martin/Geno; +Cc: WireGuard mailing list

You can use the fwmark option to have wireguard's udp packets marked,
and then use policy routing. Check out what wg-quick(8) does under the
hood.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-29 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29 18:04 own interface address and peer address in same Subnet Martin/Geno
2018-05-29 18:16 ` Jason A. Donenfeld

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