diff --git a/IPS b/IPS index 54b18b9..965d6b5 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.101.11.1/24 - + 10.10.123123/24 diff --git a/gen.sh b/gen.sh index 30fa677..0c6e229 100755 --- a/gen.sh +++ b/gen.sh @@ -20,6 +20,7 @@ sleep 1 #--------------------End--------------------- #------------- Update-Variables-------------- +file_name+=".conf" user_input+="/24" allow+="/24" #---------------Start-Checking--------------- diff --git a/user_info b/user_info index e0e173a..0aaf462 100644 --- a/user_info +++ b/user_info @@ -1 +1 @@ -10.101.11.1/24 = privatekey= 8D6n44N7T45MuSdtc92EvVrD+54OQLVwp8SM9qyElXQ= publickey= U7nU89O8Pp38Aes5ume1HhwELqLAIKSQkmpCLASXWQI= +10.10.123123/24 = privatekey= CBmbXblmBNEePTMZO23d8L850rmOgqlaIBoxBG2NSHQ= publickey= pApnZKYsBJ6kT6HiI9+XK88qCx2exbWHZm1xnYVs4kA= diff --git a/vpn b/vpn deleted file mode 100644 index 63259fe..0000000 --- a/vpn +++ /dev/null @@ -1,9 +0,0 @@ -[Interface] -Address = 10.101.11.1/24 -PrivateKey = 8D6n44N7T45MuSdtc92EvVrD+54OQLVwp8SM9qyElXQ= -DNS = 10.10.11.1,8.8.8.8 -[Peer] -PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 81.201.149.152:18800 -AllowedIPs= 101010101/24 -PersistentKeepalive = 25 diff --git a/vpn.conf b/vpn.conf new file mode 100644 index 0000000..dbbe5bf --- /dev/null +++ b/vpn.conf @@ -0,0 +1,8 @@ +[Interface] +Address = 10.10.123123/24 +PrivateKey = CBmbXblmBNEePTMZO23d8L850rmOgqlaIBoxBG2NSHQ= +[Peer] +PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= +Endpoint = 81.201.149.152:18800 +AllowedIPs= 199992/24 +PersistentKeepalive = 25