From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id cd13cc74 for ; Thu, 21 Sep 2017 11:27:24 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 6e355b88 for ; Thu, 21 Sep 2017 11:27:24 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 06066f70 for ; Thu, 21 Sep 2017 11:46:27 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id d5752d74 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 21 Sep 2017 11:46:27 +0000 (UTC) Received: by mail-io0-f180.google.com with SMTP id m103so10122249iod.13 for ; Thu, 21 Sep 2017 04:54:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: "Jason A. Donenfeld" Date: Thu, 21 Sep 2017 13:54:45 +0200 Message-ID: Subject: Re: [wireguard-dev] Ability to use one udp port for multiple wg interfaces To: nicolas prochazka Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Sep 21, 2017 at 1:46 PM, nicolas prochazka wrote: > at this moment, only one interface wg0 manage all peers and all > customers , it's very complicating for the administrive tasks , qos, > client separation .... It should be possible to accomplish these administrative tasks and qos via subnet range rather than interface. Each interface will handle up to 2^20 peers, which should certainly be enough. In any case, if you would like to use different interfaces, you'll need to use different ports.