add new client

This commit is contained in:
Leon Vita 2022-10-01 21:05:29 +01:00
parent 5cce684370
commit 455543b8a2
12 changed files with 19 additions and 9 deletions

2
IPS
View File

@ -4,7 +4,7 @@ ips=(
#server_ips: #server_ips:
"10.10.11.1/24" "10.10.100.1/24" "10.10.11.2/24" "10.10.11.1/24" "10.10.100.1/24" "10.10.11.2/24"
#Client_ips: #Client_ips:
"10.10.11.90/24" "10.10.11.4/24" "10.10.11.3/24" "10.10.11.61/24" "10.10.11.51/24" "10.10.11.60/24" "10.10.11.50/24" "10.10.11.30/24" "10.10.11.90/24" "10.10.11.4/24" "10.10.11.3/24" "10.10.11.61/24" "10.10.11.51/24" "10.10.11.60/24" "10.10.11.50/24"

View File

@ -4,6 +4,6 @@ PrivateKey = WFgTVDZZpD5hwPZNafashcpxDIktrjCrSEd2woiOw1c=
DNS = 10.10.11.1,8.8.8.8 DNS = 10.10.11.1,8.8.8.8
[Peer] [Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800 Endpoint = 81.201.149.152:18900
AllowedIPs= 10.10.11.0/24 AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25 PersistentKeepalive = 25

View File

@ -4,6 +4,6 @@ PrivateKey = QGfa9pGCDTwpDlqAQtEqPRSz0MI/Xz2E/Axve56wRVQ=
DNS = 10.10.11.1,8.8.8.8 DNS = 10.10.11.1,8.8.8.8
[Peer] [Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800 Endpoint = 81.201.149.152:18900
AllowedIPs= 10.10.11.0/24 AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25 PersistentKeepalive = 25

View File

@ -4,6 +4,6 @@ PrivateKey = MNAfzvhmsFKmV/QNt/TOUL2bY9zErS2QZR5CK5+i/k0=
DNS = 10.10.11.1,8.8.8.8 DNS = 10.10.11.1,8.8.8.8
[Peer] [Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 45.158.40.162:18800 Endpoint = 45.158.40.162:18900
AllowedIPs= 10.10.11.0/24 AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25 PersistentKeepalive = 25

9
config_file/joker90.conf Normal file
View File

@ -0,0 +1,9 @@
[Interface]
Address = 10.10.11.30/24
PrivateKey = cPw3FniYHoDv9MbB6DWxr0sc61bVTIJon6ytJ1AB1lI=
DNS = 10.10.11.1,8.8.8.8
[Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 45.158.40.162:18900
AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25

View File

@ -4,6 +4,6 @@ PrivateKey = uAukNwrCC1h0U8ZpMfjL1leWytEZHm9xfWHcL1Ga72M=
DNS = 10.10.11.1,8.8.8.8 DNS = 10.10.11.1,8.8.8.8
[Peer] [Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800 Endpoint = 81.201.149.152:18900
AllowedIPs= 10.10.11.0/24 AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25 PersistentKeepalive = 25

View File

@ -4,6 +4,6 @@ PrivateKey = +DAdUnKoHa8tOMFkMTqIp1uAILCuX37RtKkuwht1XUg=
DNS = 10.10.11.1,8.8.8.8 DNS = 10.10.11.1,8.8.8.8
[Peer] [Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800 Endpoint = 81.201.149.152:18900
AllowedIPs= 10.10.11.0/24 AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25 PersistentKeepalive = 25

View File

@ -4,6 +4,6 @@ PrivateKey = cKxLRBwgCQYj32MPMliDwhkUe4m4ojfk8U9+vgpU7nY=
DNS = 10.10.11.1,8.8.8.8 DNS = 10.10.11.1,8.8.8.8
[Peer] [Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800 Endpoint = 81.201.149.152:18900
AllowedIPs= 10.10.11.0/24 AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25 PersistentKeepalive = 25

View File

@ -3,6 +3,6 @@ Address = 10.10.11.4/24
PrivateKey = 8EMFrwPMB/h+CTUKf2ZBvTleI1YsWV+hxYBSQUasuGg= PrivateKey = 8EMFrwPMB/h+CTUKf2ZBvTleI1YsWV+hxYBSQUasuGg=
[Peer] [Peer]
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
Endpoint = 81.201.149.152:18800 Endpoint = 81.201.149.152:18900
AllowedIPs= 10.10.11.0/24 AllowedIPs= 10.10.11.0/24
PersistentKeepalive = 25 PersistentKeepalive = 25

2
gen.sh
View File

@ -87,7 +87,7 @@ sleep 1
echo "Adding peer......";sleep 2 echo "Adding peer......";sleep 2
echo "[Peer]">>$file_name; echo "[Peer]">>$file_name;
echo "PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=">> $file_name echo "PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=">> $file_name
echo "Endpoint = 45.158.40.162:18800">> $file_name echo "Endpoint = 45.158.40.162:18900">> $file_name
if [ $allow -eq 1 ];then if [ $allow -eq 1 ];then
echo -e "AllowedIPs= 10.10.11.0/24 " >> $file_name echo -e "AllowedIPs= 10.10.11.0/24 " >> $file_name

BIN
qr-code/joker90.conf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -5,3 +5,4 @@
10.10.11.3/24 = privatekey= cKxLRBwgCQYj32MPMliDwhkUe4m4ojfk8U9+vgpU7nY= publickey= OKv8k1ctlcYN9du/lWA65E0+nMpYOhUR8jf+rfQS+BY= 10.10.11.3/24 = privatekey= cKxLRBwgCQYj32MPMliDwhkUe4m4ojfk8U9+vgpU7nY= publickey= OKv8k1ctlcYN9du/lWA65E0+nMpYOhUR8jf+rfQS+BY=
10.10.11.4/24 = privatekey= 8EMFrwPMB/h+CTUKf2ZBvTleI1YsWV+hxYBSQUasuGg= publickey= YhcC/xMYxh7GIyndbgBZ05oE3aTJXK4T7JgZwUDyd08= 10.10.11.4/24 = privatekey= 8EMFrwPMB/h+CTUKf2ZBvTleI1YsWV+hxYBSQUasuGg= publickey= YhcC/xMYxh7GIyndbgBZ05oE3aTJXK4T7JgZwUDyd08=
10.10.11.90/24 = privatekey= MNAfzvhmsFKmV/QNt/TOUL2bY9zErS2QZR5CK5+i/k0= publickey= 3GEocBTOztOKWtWQFOmI5hynPiPcMMe54kVaHECAG1A= 10.10.11.90/24 = privatekey= MNAfzvhmsFKmV/QNt/TOUL2bY9zErS2QZR5CK5+i/k0= publickey= 3GEocBTOztOKWtWQFOmI5hynPiPcMMe54kVaHECAG1A=
10.10.11.30/24 = privatekey= cPw3FniYHoDv9MbB6DWxr0sc61bVTIJon6ytJ1AB1lI= publickey= FRuPoJ1XVGWTeGO2vZPd4MC0hxjRailAzhMHg3ZegV0=