diff --git a/IPS b/IPS index 2c12c25..2501270 100644 --- a/IPS +++ b/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" diff --git a/gen.sh b/gen.sh index 519313a..6d50927 100755 --- a/gen.sh +++ b/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' diff --git a/qrscanme.png b/qrscanme.png index c2c4d26..f103d24 100644 Binary files a/qrscanme.png and b/qrscanme.png differ diff --git a/user_info b/user_info index a865ead..a30e03d 100644 --- a/user_info +++ b/user_info @@ -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= diff --git a/vpn.conf b/vpn.conf index cc1d3e8..88ad745 100644 --- a/vpn.conf +++ b/vpn.conf @@ -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=