From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: rcwhelan@gmail.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 66b8096a for ; Mon, 4 Jun 2018 11:10:31 +0000 (UTC) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 6f0f3ab6 for ; Mon, 4 Jun 2018 11:10:31 +0000 (UTC) Received: by mail-qt0-x22a.google.com with SMTP id p23-v6so15103896qtn.6 for ; Mon, 04 Jun 2018 04:13:15 -0700 (PDT) MIME-Version: 1.0 References: <20180602201143.GC5571@puffer.in.lylie.net> In-Reply-To: <20180602201143.GC5571@puffer.in.lylie.net> From: Ryan Whelan Date: Mon, 4 Jun 2018 07:13:06 -0400 Message-ID: Subject: Re: peer key in file To: jungleboogie0@gmail.com Content-Type: multipart/alternative; boundary="0000000000001706ce056dcf050d" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0000000000001706ce056dcf050d Content-Type: text/plain; charset="UTF-8" if using bash - wg set tun0 peer $(cat peerfile) allowed-ips 0.0.0.0/0 endpoint 192.168.0.1:7394 On Sat, Jun 2, 2018 at 4:12 PM Jungle Boogie wrote: > Hi All, > > I know the private key can be specified via file, but what about the peer > key? > > wg set tun0 peer ./peerfile allowed-ips 0.0.0.0/0 endpoint > 192.168.0.1:7394 > > Thanks! > _______________________________________________ > WireGuard mailing list > WireGuard@lists.zx2c4.com > https://lists.zx2c4.com/mailman/listinfo/wireguard > --0000000000001706ce056dcf050d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
if using bash -=C2=A0

wg set tun0 peer $(cat peerfile) allowed-ips=C2=A0= 0.0.0.0/0=C2=A0endpoint= =C2=A0192.168.0.1:7394



On Sat, Jun 2, 2018 at 4:12 PM Jungle Boogie <jungleboogie0@gmail.com> wrote:<= br>
Hi All,

I know the private key can be specified via file, but what about the peer k= ey?

wg set tun0 peer ./peerfile allowed-ips 0.0.0.0/0 endpoint 192.168.0.1:7394
Thanks!
_______________________________________________
WireGuard mailing list
WireGuard@li= sts.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard=
--0000000000001706ce056dcf050d--