From: Ryan Whelan <rcwhelan@gmail.com>
To: jungleboogie0@gmail.com
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: peer key in file
Date: Mon, 4 Jun 2018 07:13:06 -0400 [thread overview]
Message-ID: <CAM3m09Q8-=juJ-wtQRB6LkHqExjLiibme9cbmgLVAtcjap7HwQ@mail.gmail.com> (raw)
In-Reply-To: <20180602201143.GC5571@puffer.in.lylie.net>
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
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 <jungleboogie0@gmail.com>
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
>
[-- Attachment #2: Type: text/html, Size: 2742 bytes --]
prev parent reply other threads:[~2018-06-04 11:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-02 20:11 Jungle Boogie
2018-06-04 11:13 ` Ryan Whelan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM3m09Q8-=juJ-wtQRB6LkHqExjLiibme9cbmgLVAtcjap7HwQ@mail.gmail.com' \
--to=rcwhelan@gmail.com \
--cc=jungleboogie0@gmail.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).