From 455543b8a25bc17e836ccef95e0072606a74d87f Mon Sep 17 00:00:00 2001 From: leon Date: Sat, 1 Oct 2022 21:05:29 +0100 Subject: [PATCH] add new client --- IPS | 2 +- config_file/B-mobile.conf | 2 +- config_file/b-laptop.conf | 2 +- config_file/black.conf | 2 +- config_file/joker90.conf | 9 +++++++++ config_file/killow-server1.conf | 2 +- config_file/killow-server2.conf | 2 +- config_file/leon-phone.conf | 2 +- config_file/leoncloud-server.conf | 2 +- gen.sh | 2 +- qr-code/joker90.conf.png | Bin 0 -> 1024 bytes user_info | 1 + 12 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 config_file/joker90.conf create mode 100644 qr-code/joker90.conf.png diff --git a/IPS b/IPS index 5419fd6..3d261fa 100644 --- a/IPS +++ b/IPS @@ -4,7 +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.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" diff --git a/config_file/B-mobile.conf b/config_file/B-mobile.conf index 4a732c0..f7d122a 100644 --- a/config_file/B-mobile.conf +++ b/config_file/B-mobile.conf @@ -4,6 +4,6 @@ PrivateKey = WFgTVDZZpD5hwPZNafashcpxDIktrjCrSEd2woiOw1c= DNS = 10.10.11.1,8.8.8.8 [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 81.201.149.152:18800 +Endpoint = 81.201.149.152:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/config_file/b-laptop.conf b/config_file/b-laptop.conf index f80b76a..a83bddc 100644 --- a/config_file/b-laptop.conf +++ b/config_file/b-laptop.conf @@ -4,6 +4,6 @@ PrivateKey = QGfa9pGCDTwpDlqAQtEqPRSz0MI/Xz2E/Axve56wRVQ= DNS = 10.10.11.1,8.8.8.8 [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 81.201.149.152:18800 +Endpoint = 81.201.149.152:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/config_file/black.conf b/config_file/black.conf index 620686b..e5f2dea 100644 --- a/config_file/black.conf +++ b/config_file/black.conf @@ -4,6 +4,6 @@ PrivateKey = MNAfzvhmsFKmV/QNt/TOUL2bY9zErS2QZR5CK5+i/k0= DNS = 10.10.11.1,8.8.8.8 [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 45.158.40.162:18800 +Endpoint = 45.158.40.162:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/config_file/joker90.conf b/config_file/joker90.conf new file mode 100644 index 0000000..b43bd82 --- /dev/null +++ b/config_file/joker90.conf @@ -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 diff --git a/config_file/killow-server1.conf b/config_file/killow-server1.conf index 2a204f3..5db865b 100644 --- a/config_file/killow-server1.conf +++ b/config_file/killow-server1.conf @@ -4,6 +4,6 @@ PrivateKey = uAukNwrCC1h0U8ZpMfjL1leWytEZHm9xfWHcL1Ga72M= DNS = 10.10.11.1,8.8.8.8 [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 81.201.149.152:18800 +Endpoint = 81.201.149.152:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/config_file/killow-server2.conf b/config_file/killow-server2.conf index 051b5b7..854b5ee 100644 --- a/config_file/killow-server2.conf +++ b/config_file/killow-server2.conf @@ -4,6 +4,6 @@ PrivateKey = +DAdUnKoHa8tOMFkMTqIp1uAILCuX37RtKkuwht1XUg= DNS = 10.10.11.1,8.8.8.8 [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 81.201.149.152:18800 +Endpoint = 81.201.149.152:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/config_file/leon-phone.conf b/config_file/leon-phone.conf index 18dc560..180d9cf 100644 --- a/config_file/leon-phone.conf +++ b/config_file/leon-phone.conf @@ -4,6 +4,6 @@ PrivateKey = cKxLRBwgCQYj32MPMliDwhkUe4m4ojfk8U9+vgpU7nY= DNS = 10.10.11.1,8.8.8.8 [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 81.201.149.152:18800 +Endpoint = 81.201.149.152:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/config_file/leoncloud-server.conf b/config_file/leoncloud-server.conf index d2ae2b3..0b79da4 100644 --- a/config_file/leoncloud-server.conf +++ b/config_file/leoncloud-server.conf @@ -3,6 +3,6 @@ Address = 10.10.11.4/24 PrivateKey = 8EMFrwPMB/h+CTUKf2ZBvTleI1YsWV+hxYBSQUasuGg= [Peer] PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= -Endpoint = 81.201.149.152:18800 +Endpoint = 81.201.149.152:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/gen.sh b/gen.sh index 6b9d1d6..5e33758 100755 --- a/gen.sh +++ b/gen.sh @@ -87,7 +87,7 @@ sleep 1 echo "Adding peer......";sleep 2 echo "[Peer]">>$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 echo -e "AllowedIPs= 10.10.11.0/24 " >> $file_name diff --git a/qr-code/joker90.conf.png b/qr-code/joker90.conf.png new file mode 100644 index 0000000000000000000000000000000000000000..bdadf60f16b430e2dc34e6729102668106354c97 GIT binary patch literal 1024 zcmV+b1poVqP)|C+u&6oJbZh1XZ=|l9PU{A@`4Bes zbLzN>|L;Tp$Y04xG+3I8Un5`1b8=mzMoTWPBfha~Vr`1wi`f${YDsis%zHUTTu60{ zu1hrjh*WHIlmGKoc>fuh<3YU}h-4A|89@w+xe$g_J3i(@^B>XqmLNZf=zsoxXYOkv zpTc)=t*x!)Etu<%s`{3k0o(L`CU+2Fxg@FZUPEJdUxrzHwBN^|79Kc-#^bJUXC<^^Sl%@VJLx`h0g zT}#ezbj2Z%9eecL^k{>c5H_3FQd`z;qm^eLgDiN=DKGY;E*b(+!DVyz z<_^>bzu9Bd5-y^nV?k#89xKTkJQ3B9+j=ydL{vJDn&{e|IxT^&w6cN}_|#Wq`|Mq# zCa9Ej%#7NR_T8{ldPhe=ZlcyY#9$zFFjQGmv}?&3FmuqswTb>DjG%l)qb9Fmh;2e( zAWZm5=XoG0;7GM&MG)*$BCGt&# z6OV_KLQq{BT&E@Q6ceEaA<6!fv4+w8(Sz^FZL!C^!Y#tkC3K8T%S%njiD|-qW$)&; zNcB_K8gjm#3YmvWJ$GS@&su`o!H7V&&EnbVCC_hl(U5?)cuiW1MW9=d8KWi`vrRDz z^%K>wPAfo)9KPnPEJkEeu$4D$r zyjb*Vf*7=T@1FPKT7qHE{OLvoK@4CIk!^SZj5ohMo`^|L`3$0?L+{AK7eAG# zBS;G)+na^P(;Q(>o)egcpbRGrTf_jyhs4=k$*fv}^PK20%b5v-5r>IYdPPg*$)agKj#x!-a-9gWC*EHgE`3~piXaAS!90W#m2i?C7NGk{*hl#6aUl_^M-N&0000