add new client=''
This commit is contained in:
parent
f002462e68
commit
13168561b4
1
gen.sh
1
gen.sh
|
@ -33,6 +33,7 @@ check_ip () {
|
||||||
if [[ "$ip" == "$user_input" ]];then
|
if [[ "$ip" == "$user_input" ]];then
|
||||||
echo "ip exist"
|
echo "ip exist"
|
||||||
ip_checked= return 1
|
ip_checked= return 1
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
#Checking if the ip net exist do this:
|
#Checking if the ip net exist do this:
|
||||||
|
|
9
vpn.conf
9
vpn.conf
|
@ -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
|
|
Loading…
Reference in New Issue