update wireguard client script
This commit is contained in:
parent
6f92169fe6
commit
d845e2e729
3 changed files with 16 additions and 19 deletions
scripts
|
@ -2,8 +2,8 @@
|
|||
#
|
||||
# Create a new wireguard client
|
||||
|
||||
client_name="ipad tina"
|
||||
client_ip=10.100.0.9
|
||||
client_name="iphone tina"
|
||||
client_ip=10.100.0.103
|
||||
private_key=$(wg genkey)
|
||||
public_key=$(echo "$private_key" | wg pubkey)
|
||||
|
||||
|
@ -15,7 +15,7 @@ ListenPort = 51820
|
|||
PrivateKey = ${private_key}
|
||||
|
||||
[Peer]
|
||||
PublicKey = uWR93xJe5oEbX3DsAYpOS9CuSg1VmXEQxJzdlJpe3DU=
|
||||
PublicKey = txECSpa5HeIWgRtcZNxBUzkdN72rsA2w6Is6gIp0Tlc=
|
||||
Endpoint = ingolf-wagner.de:51820
|
||||
AllowedIPs = 10.100.0.1/24
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue