add new client=''

This commit is contained in:
Leon Vita 2022-09-02 00:57:58 +01:00
parent f002462e68
commit 13168561b4
2 changed files with 1 additions and 9 deletions

1
gen.sh
View File

@ -33,6 +33,7 @@ check_ip () {
if [[ "$ip" == "$user_input" ]];then
echo "ip exist"
ip_checked= return 1
exit 1
fi
done
#Checking if the ip net exist do this:

View File

@ -1,9 +0,0 @@
[Interface]
Address = 10.10.11.3/24
PrivateKey = EDz8Hb13LaOakMb6WIkkpzB9vmvYGlMC7nYs0flLAHI=
DNS = 10.10.11.1,8.8.8.8
[Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800
AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25