wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* peer key in file
@ 2018-06-02 20:11 Jungle Boogie
  2018-06-04 11:13 ` Ryan Whelan
  0 siblings, 1 reply; 2+ messages in thread
From: Jungle Boogie @ 2018-06-02 20:11 UTC (permalink / raw)
  To: wireguard

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!

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

* Re: peer key in file
  2018-06-02 20:11 peer key in file Jungle Boogie
@ 2018-06-04 11:13 ` Ryan Whelan
  0 siblings, 0 replies; 2+ messages in thread
From: Ryan Whelan @ 2018-06-04 11:13 UTC (permalink / raw)
  To: jungleboogie0; +Cc: WireGuard mailing list

[-- 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 --]

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

end of thread, other threads:[~2018-06-04 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-02 20:11 peer key in file Jungle Boogie
2018-06-04 11:13 ` Ryan Whelan

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