add new client=''

This commit is contained in:
Leon Vita 2022-09-02 01:42:59 +01:00
parent 8bd754c53b
commit 60f2fc922a
5 changed files with 6 additions and 7 deletions

3
IPS
View File

@ -4,8 +4,7 @@ ips=(
#server_ips:
"10.10.11.1/24" "10.10.100.1/24" "10.10.11.2/24"
#Client_ips:
"10.10.11.4/24" "10.10.11.3/24"
"10.10.11.4/24"

5
gen.sh
View File

@ -12,9 +12,8 @@ echo -e "Choose DNS: [1=Server 2=Google 3=Both 4=noDNS]";read DNS
sleep 1
echo -e "Share Network With Other-Clients:\n"
echo -e "[Yes=1 \ No=2]";read allow
echo "Would You Like To Have This Config On QR-Code Or File:"
sleep 1
echo -e "QR-code Press 1: File Press 2: \r"
echo -e "QR-code AND File[1] \ Only File[2]: \r"
read user_wish
sleep 1
#--------------------End---------------------
@ -45,6 +44,8 @@ check_ip () {
gen #Function for generate the config.
push #Function for Pushing on Gitea.
echo "Done generating config:"
mv $file_name config_file
mv qrscanme.png qr-code
fi
}
echo -ne '##### (33%)\n'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,2 +1 @@
10.10.11.3/24 = privatekey= EDz8Hb13LaOakMb6WIkkpzB9vmvYGlMC7nYs0flLAHI= publickey= gBJI+s7YpJU6OyPzZOpJ0mbIF497FwTb/HiV3fV3+ng=
10.10.11.4/24 = privatekey= kGuOLPk8mux0Nu3DJxJFD+7UbUBAFVe/VP//fgxhdXY= publickey= 10kgZvJdWN8Ea4ai3AUweIy1KeNcXZjWvpjx+8P/71Q=
10.10.11.4/24 = privatekey= sKo8wS23fqlZNGWjuyEZq0v7B838H9gHoNALjY7ZbFs= publickey= WIga9sClL3CGCJgwTs9MgGth29ZsS7XDGAzqbu+cVko=

View File

@ -1,6 +1,6 @@
[Interface]
Address = 10.10.11.4/24
PrivateKey = kGuOLPk8mux0Nu3DJxJFD+7UbUBAFVe/VP//fgxhdXY=
PrivateKey = sKo8wS23fqlZNGWjuyEZq0v7B838H9gHoNALjY7ZbFs=
DNS = 10.10.11.1,8.8.8.8
[Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=