🔧 add wireguard device

This commit is contained in:
Ingolf Wagner 2024-09-22 12:06:16 +09:00
parent 361497a6e6
commit 1a9c1f4913
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 7 additions and 2 deletions

View file

@ -2,8 +2,8 @@
#
# Create a new wireguard client
client_name="iphone tina"
client_ip=10.100.0.103
client_name="ipad tina"
client_ip=10.100.0.104
private_key=$(wg genkey)
public_key=$(echo "$private_key" | wg pubkey)