Skip to contentSkip to conversation

peer key in file

DISCUSSION Jungle Boogie 2 participants 2 messages Jun 2, 2018 – Jun 4, 2018

lore
Share & tools
lore
#0 lore raw

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!

#1 lore raw

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