Development discussion of WireGuard
 help / color / mirror / Atom feed
* Ability to use one udp port for multiple wg interfaces
@ 2017-05-02  8:20 Damian Kaczkowski
  2017-05-02  8:55 ` Jason A. Donenfeld
  0 siblings, 1 reply; 8+ messages in thread
From: Damian Kaczkowski @ 2017-05-02  8:20 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

Hello.

I'm trying to run two wg interfaces bound to one udp port. eg. wg0 ang wg1
on 51820/udp . wg shows that both interfaces are created (wg0 and wg1). wg
also shows that all peers on both interfaces are defined. However only
peers defined on one wg interface (either wg0 or wg1) are able to establish
connection. Peers on the other interface are not able to connect.

Is this currently unsupported configuration?

Or is this supported configuration and I am doing something wrong?

If unsupported, do you consider to support it in the future?

It would be useful if one wants to easily manage ACLs via firewall rules
defined by wg interfaces (easy to define zones), but do not want to open
multiple ports for every new zone/peer(s). Currently one have to open one
udp port per wg interface. It is not very friendly to open additional udp
ports in multiple peer scenario where firewall ACLs are desirable. If one
have limited number of free udp ports then it also does not scale well.

I am using wireguard build no 20170115 on lede/mips linux.

Greets.

[-- Attachment #2: Type: text/html, Size: 1256 bytes --]

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

end of thread, other threads:[~2017-05-11 10:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02  8:20 Ability to use one udp port for multiple wg interfaces Damian Kaczkowski
2017-05-02  8:55 ` Jason A. Donenfeld
2017-05-02  9:56   ` Damian Kaczkowski
2017-05-02 16:32     ` Jason A. Donenfeld
2017-05-02 17:59       ` Damian Kaczkowski
2017-05-02 19:45         ` Jason A. Donenfeld
2017-05-05 18:28           ` Damian Kaczkowski
2017-05-11 10:30             ` 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).