peer key in file

Ryan Whelan rcwhelan at gmail.com
Mon Jun 4 13:13:06 CEST 2018


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 at 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 at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20180604/9758f0ba/attachment.html>


More information about the WireGuard mailing list