add new client=''
This commit is contained in:
parent
8bd754c53b
commit
60f2fc922a
3
IPS
3
IPS
|
@ -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
5
gen.sh
|
@ -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'
|
||||
|
|
BIN
qrscanme.png
BIN
qrscanme.png
Binary file not shown.
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
@ -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=
|
||||
|
|
Loading…
Reference in New Issue