add new client=''

This commit is contained in:
Leon Vita 2022-09-01 22:43:10 +01:00
parent 24fbdaf556
commit d06360ad86
5 changed files with 8 additions and 6 deletions

2
IPS
View File

@ -4,7 +4,7 @@ ips=(
#server_ips:
"10.10.11.1/24" "10.10.100.1/24" "10.10.11.2/24"
#Client_ips:
"77777777777777/24" "7777777777/24" "10010001/24" "10.10.111/24" "10.10.11.100/24/24" "10.10.10.10/24" "10.10.11.4/24" "10.10.11.3/24"
"10.10.11.11.1/24/24" "77777777777777/24" "7777777777/24" "10010001/24" "10.10.111/24" "10.10.11.100/24/24" "10.10.10.10/24" "10.10.11.4/24" "10.10.11.3/24"

4
gen.sh
View File

@ -2,12 +2,12 @@
source IPS
#--------------------Input---------------------
echo -e "File Name with .conf:\r"
read file_name
echo -e "Please Put The Client Ip Address With Subnet:\r"
echo -e "The Ip Please:\r"; read user_input
echo -e "The Ip Please:\r"; read user_input
user_input+="/24"
sleep 1
echo -e "Would You Like To Have DNS:\r";echo -e "[1=yes] or [2=no]\r";read answer
sleep 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 907 B

View File

@ -1,2 +1,3 @@
7777777777 = privatekey= QF8KF7HlAbiRdHnsBpW6Sp4LAYaIjtyZUf9FtqJm/kU= publickey= Lbu2rZkhZhZvWSRSRLUOQz+MZR26jFLzWrZfsbg9bF4=
77777777777777 = privatekey= gLZf9EjcwVdPgHMAhdht0PvBYA9K1CkwU9QS20vHQWs= publickey= 76cjKTJ0XElpfbGTIEKGMWGrVRNDduosYbps8H/zwCc=
10.10.11.11.1/24 = privatekey= oKJbDn89SRf1TqRUayd+xWKfo/2v7d7JOCupYKcEQ3k= publickey= UdYskYvZ/IjsQ8MyCJYSwelhIPIFdrIxaOpZfmppNhY=

View File

@ -1,8 +1,9 @@
[Interface]
Address = 77777777777777
PrivateKey = gLZf9EjcwVdPgHMAhdht0PvBYA9K1CkwU9QS20vHQWs=
Address = 10.10.11.11.1/24
PrivateKey = oKJbDn89SRf1TqRUayd+xWKfo/2v7d7JOCupYKcEQ3k=
DNS = 123
[Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800
AllowedIPs= 124
AllowedIPs= 1234
PersistentKeepalive = 25