peer key in file
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!
if using bash -
wg set tun0 peer $(cat peerfile) allowed-ips 0.0.0.0/0 endpoint 192.168.0.1:7394
Quoted 14 lines · Jungle Boogie
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