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 <[email protected]> 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 > [email protected] > https://lists.zx2c4.com/mailman/listinfo/wireguard >
_______________________________________________ WireGuard mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/wireguard
