First Commit
This commit is contained in:
commit
bd67283438
142 changed files with 5061 additions and 0 deletions
7
wireguard/ingtegration/chateauguay/router/RB5009.cfg
Normal file
7
wireguard/ingtegration/chateauguay/router/RB5009.cfg
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[RB5009]
|
||||
Rtr_Addr_Public=heh08h84mnt.sn.mynetname.net
|
||||
Rrt_Port=14321
|
||||
Rtr_Interface=WG-Devices
|
||||
Rtr_Addr_Private=172.16.254.2
|
||||
Rtr_CIDR_Mask=24
|
||||
Rtr_PUB_KEY=MmTMFo+Fs3N9jrcVeGKkmMi2NoZctvSB7813LCN12nY=
|
||||
15
wireguard/ingtegration/chateauguay/test/RB5009.cfg
Normal file
15
wireguard/ingtegration/chateauguay/test/RB5009.cfg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
[WG01]
|
||||
Rtr_Addr_Public=heh08h84mnt.sn.mynetname.net
|
||||
Rrt_Port=14322
|
||||
Rtr_Addr_Private=172.16.40.254
|
||||
Rtr_CIDR_Mask=24
|
||||
Rtr_PUB_KEY=iPArVoKAjEYTsvSb2NdQRDIUxHPHBgGTHAK3uAKKvkw=
|
||||
|
||||
[WG02]
|
||||
Rtr_Addr_Public=heh08h84mnt.sn.mynetname.net
|
||||
Rrt_Port=14322
|
||||
Rtr_Addr_Private=172.16.40.254
|
||||
Rtr_CIDR_Mask=24
|
||||
Rtr_PUB_KEY=iPArVoKAjEYTsvSb2NdQRDIUxHPHBgGTHAK3uAKKvkw=
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
/interface wireguard peers
|
||||
add allowed-address=172.16.40.2/32 disabled=no name="guy" interface=WG01 \
|
||||
preshared-key="Ib7k3/rWONN4Ga4oA5EfweGiMk8+BvS59HYmpSkSzCA=" public-key="ziekWouNBWmOUIlCx9uO6U4FOoBQbagLqOwnKKEsvn4="
|
||||
13
wireguard/ingtegration/chateauguay/test/U-002-guy.conf
Normal file
13
wireguard/ingtegration/chateauguay/test/U-002-guy.conf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Interface]
|
||||
PrivateKey = eOmsbsjFnFi9AtWjJyQmPmWUSdq0gg2P35ysdxOJyVE=
|
||||
ListenPort = 51821
|
||||
Address = 172.16.40.2/32
|
||||
DNS = 1.1.1.1,8.8.8.8
|
||||
|
||||
[Peer]
|
||||
PublicKey = iPArVoKAjEYTsvSb2NdQRDIUxHPHBgGTHAK3uAKKvkw=
|
||||
PresharedKey = Ib7k3/rWONN4Ga4oA5EfweGiMk8+BvS59HYmpSkSzCA=
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
Endpoint = heh08h84mnt.sn.mynetname.net:14322
|
||||
PersistentKeepalive = 25
|
||||
|
||||
BIN
wireguard/ingtegration/chateauguay/test/U-002-guy.conf.png
Normal file
BIN
wireguard/ingtegration/chateauguay/test/U-002-guy.conf.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
34
wireguard/ingtegration/chateauguay/test/readini
Executable file
34
wireguard/ingtegration/chateauguay/test/readini
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
INI_FILE="$1"
|
||||
SECTIONS_NUM=0
|
||||
unset ${INI_ALL_SECTION}
|
||||
|
||||
|
||||
|
||||
while read -r line || [ -n "$line" ]
|
||||
do
|
||||
echo -e "\nLine = $line"
|
||||
# Skip blank lines and comments
|
||||
if [ -z "$line" -o "${line:0:1}" = ";" -o "${line:0:1}" = "#" ]
|
||||
then
|
||||
continue
|
||||
fi
|
||||
|
||||
# Section marker?
|
||||
if [[ "${line}" =~ ^\[[a-zA-Z0-9_]{1,}\]$ ]]
|
||||
then
|
||||
# Set SECTION var to name of section (strip [ and ] from section marker)
|
||||
SECTION="${line#[}"
|
||||
SECTION="${SECTION%]}"
|
||||
echo -e "SECTION = ${SECTION}"
|
||||
#eval "${INI_ALL_SECTION}=\"\${${INI_ALL_SECTION}# } $SECTION\""
|
||||
((SECTIONS_NUM++))
|
||||
continue
|
||||
fi
|
||||
done <"${INI_FILE}"
|
||||
|
||||
echo -e "SECTIONS_NUM = $SECTIONS_NUM"
|
||||
|
||||
echo "INI_ALL_SECTION = $INI_ALL_SECTION"
|
||||
7
wireguard/ingtegration/chateauguay/user/RB5009.cfg
Normal file
7
wireguard/ingtegration/chateauguay/user/RB5009.cfg
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[RB5009]
|
||||
Rtr_Addr_Public=heh08h84mnt.sn.mynetname.net
|
||||
Rrt_Port=14322
|
||||
Rtr_Interface=WG-Users
|
||||
Rtr_Addr_Private=172.16.40.254
|
||||
Rtr_CIDR_Mask=24
|
||||
Rtr_PUB_KEY=iPArVoKAjEYTsvSb2NdQRDIUxHPHBgGTHAK3uAKKvkw=
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
/interface wireguard peers
|
||||
add allowed-address=172.16.40.3/32 disabled=no name="pcguy" interface=WG-Users \
|
||||
preshared-key="nlvAgKyqzNZon2vv8mGBUoFIyGZ5XWmNLLEN+ULI8OU=" public-key="UYXWTpjsuLD8oBIbmG+/E4ayJ7/HvEs5RotwqlW2938="
|
||||
13
wireguard/ingtegration/chateauguay/user/U-003-dana.conf
Normal file
13
wireguard/ingtegration/chateauguay/user/U-003-dana.conf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Interface]
|
||||
PrivateKey = sIwBWQDsBHyXh50pjFEF04NtK5H2zan9eyo1G189VXo=
|
||||
ListenPort = 51821
|
||||
Address = 172.16.40.3/32
|
||||
DNS = 1.1.1.1,8.8.8.8
|
||||
|
||||
[Peer]
|
||||
PublicKey = iPArVoKAjEYTsvSb2NdQRDIUxHPHBgGTHAK3uAKKvkw=
|
||||
PresharedKey = nlvAgKyqzNZon2vv8mGBUoFIyGZ5XWmNLLEN+ULI8OU=
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
Endpoint = heh08h84mnt.sn.mynetname.net:14322
|
||||
PersistentKeepalive = 25
|
||||
|
||||
BIN
wireguard/ingtegration/chateauguay/user/U-003-dana.conf.png
Normal file
BIN
wireguard/ingtegration/chateauguay/user/U-003-dana.conf.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Loading…
Add table
Add a link
Reference in a new issue