diff --git a/IPS b/IPS index d41fae5..915ccd5 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" diff --git a/vpn.conf b/config_file/vpn1.conf similarity index 69% rename from vpn.conf rename to config_file/vpn1.conf index d404fe4..c6d5913 100644 --- a/vpn.conf +++ b/config_file/vpn1.conf @@ -1,6 +1,6 @@ [Interface] -Address = 10.10.11.4/24 -PrivateKey = GGyRweYx6WbCB33Uck+t8qs3yfiCclWiI0HZWYLsIlY= +Address = 10.10.11.3/24 +PrivateKey = qDQVqwEAtTdwUE4ZvjxTybZB7DSoXT05LlVAq3Tp62s= DNS = 10.10.11.1,8.8.8.8 [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= diff --git a/gen.sh b/gen.sh index 8291836..2ccfaf7 100755 --- a/gen.sh +++ b/gen.sh @@ -44,10 +44,10 @@ check_ip () { echo "Ip Accepted:" sleep 2 gen #Function for generate the config. - push #Function for Pushing on Gitea. echo "Done generating config:" mv $file_name config_file mv "$file_name.png" qr-code + push #Function for Pushing on Gitea. echo -ne '##########################(100%)\n' python3 -c 'import cat;cat.cat_done()' fi diff --git a/qr-code/vpn1.conf.png b/qr-code/vpn1.conf.png new file mode 100644 index 0000000..3ed57cb Binary files /dev/null and b/qr-code/vpn1.conf.png differ diff --git a/user_info b/user_info index 7af446c..ee9273d 100644 --- a/user_info +++ b/user_info @@ -1 +1 @@ -10.10.11.4/24 = privatekey= GGyRweYx6WbCB33Uck+t8qs3yfiCclWiI0HZWYLsIlY= publickey= xFBw/VvYtlym0NbHk+mDy2chcEW2SI/9NK+U5qrzN1k= +10.10.11.3/24 = privatekey= qDQVqwEAtTdwUE4ZvjxTybZB7DSoXT05LlVAq3Tp62s= publickey= aW0DxexC5slC1xdsquFpbXHpLWIDXLUbSsx20Cj8NWA= diff --git a/vpn.conf.png b/vpn.conf.png deleted file mode 100644 index 102d0d1..0000000 Binary files a/vpn.conf.png and /dev/null differ