add new client=
This commit is contained in:
parent
008591be8b
commit
b2f2ff48ec
3
IPS
3
IPS
|
@ -4,8 +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.5/24" "10.10.11.4/24"
|
"10.10.11.3/24"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Interface]
|
|
||||||
Address = 10.10.11.5/24
|
|
||||||
PrivateKey = +KHM/pPWnxoJPfIXwdWXv+RUsD6H80O/hnq0CPhjMGo=
|
|
||||||
DNS = 10.10.11.1,8.8.8.8
|
|
||||||
[Peer]
|
|
||||||
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
|
|
||||||
Endpoint = 81.201.149.152:18800
|
|
||||||
AllowedIPs= 10.10.11.0/24
|
|
||||||
PersistentKeepalive = 25
|
|
BIN
client.conf.png
BIN
client.conf.png
Binary file not shown.
Before Width: | Height: | Size: 1020 B |
2
gen.sh
2
gen.sh
|
@ -134,7 +134,7 @@ echo -ne '\n'
|
||||||
push (){
|
push (){
|
||||||
echo -e "Start Pushing To Repo:"
|
echo -e "Start Pushing To Repo:"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "add new client='$userinput'"
|
git commit -m "add new client=$(user_input)"
|
||||||
git push
|
git push
|
||||||
echo -e "Done Pushing."
|
echo -e "Done Pushing."
|
||||||
echo -ne '######################### (95%)\n'
|
echo -ne '######################### (95%)\n'
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.0 KiB |
|
@ -1,2 +1 @@
|
||||||
10.10.11.4/24 = privatekey= sKo8wS23fqlZNGWjuyEZq0v7B838H9gHoNALjY7ZbFs= publickey= WIga9sClL3CGCJgwTs9MgGth29ZsS7XDGAzqbu+cVko=
|
10.10.11.3/24 = privatekey= KIo+K26EQy5sJgC1qBy+BNC3XgkrVDT0+jrOGd4asVI= publickey= qKDkRRM9+EjRk/XBkbln5Sj3rokid5ruO30ThB3HkUI=
|
||||||
10.10.11.5/24 = privatekey= +KHM/pPWnxoJPfIXwdWXv+RUsD6H80O/hnq0CPhjMGo= publickey= VpUJl37tSBViN5ypVLHlfxSN8lOsc4vgwxsClQIZQm4=
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Interface]
|
[Interface]
|
||||||
Address = 10.10.11.4/24
|
Address = 10.10.11.3/24
|
||||||
PrivateKey = sKo8wS23fqlZNGWjuyEZq0v7B838H9gHoNALjY7ZbFs=
|
PrivateKey = KIo+K26EQy5sJgC1qBy+BNC3XgkrVDT0+jrOGd4asVI=
|
||||||
DNS = 10.10.11.1,8.8.8.8
|
DNS = 10.10.11.1,8.8.8.8
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
|
PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=
|
Binary file not shown.
After Width: | Height: | Size: 1018 B |
Loading…
Reference in New Issue