First Commit
This commit is contained in:
commit
bd67283438
142 changed files with 5061 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
# WireGuard client peer configure
|
||||
/interface wireguard peers
|
||||
add allowed-address=10.100.99.2/32 comment=\
|
||||
wg01-client-Router001 interface=wg01 \
|
||||
preshared-key="evIsO6Pl6d9uFSkM0RrAzkYyVqbhBiG3+1XKaXgD5Ws=" public-key=\
|
||||
"xDaZbGDa+Q66zdmnH5Ngjh0byL7bMKEdKdlQ+3wNG0U="
|
||||
|
||||
10
wireguard/wg01/client/Router001/wg01-client-Router001.conf
Normal file
10
wireguard/wg01/client/Router001/wg01-client-Router001.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Interface]
|
||||
PrivateKey = yMtyTz/gLwMLzbkmGriTRQeQu3vuuyStGz7LPv1f3GI=
|
||||
Address = 10.100.99.2/32,fd42:64:63::2/128
|
||||
DNS = 1.1.1.1,8.8.8.8
|
||||
|
||||
[Peer]
|
||||
PublicKey = oIZef/qKVdZm6sWzX3SqRs8Yr1wdJQEynKMtZ6+v32A=
|
||||
PresharedKey = evIsO6Pl6d9uFSkM0RrAzkYyVqbhBiG3+1XKaXgD5Ws=
|
||||
Endpoint = 172.16.16.136:13231
|
||||
AllowedIPs = 0.0.0.0/0,::/0
|
||||
BIN
wireguard/wg01/client/Router001/wg01-client-Router001.png
Normal file
BIN
wireguard/wg01/client/Router001/wg01-client-Router001.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
101
wireguard/wg01/mikrotik/wg01.rsc
Normal file
101
wireguard/wg01/mikrotik/wg01.rsc
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
# WireGuard interface configure
|
||||
/interface wireguard
|
||||
add listen-port=13231 mtu=1420 name=wg01 private-key="sLKaz0+jIgc3hkmob7tKXcRM1nAyKCzNn4IxhXOuv20="
|
||||
/ip address add address=10.100.99.1/24 comment=wg-wg01 interface=wg01
|
||||
|
||||
# WireGuard client peer configure
|
||||
/interface wireguard peers
|
||||
add allowed-address=10.100.99.2/32 comment=wg01-client-Router001 interface=wg01 \
|
||||
preshared-key="evIsO6Pl6d9uFSkM0RrAzkYyVqbhBiG3+1XKaXgD5Ws=" public-key=\
|
||||
"xDaZbGDa+Q66zdmnH5Ngjh0byL7bMKEdKdlQ+3wNG0U="
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CLIENT_PRIV_KEY=$(wg genkey)
|
||||
CLIENT_PUB_KEY=$(echo "${CLIENT_PRIV_KEY}" | wg pubkey)
|
||||
|
||||
|
||||
|
||||
Users 10.1.40.0/24
|
||||
WG_Users Pub Key : EsxauwYNBotyfDJzy9yCUXDci2gHbtZLhUWnMgMP0AY=
|
||||
Usr_CCR1_Addr="66.171.167.250"
|
||||
Usr_CCR1_Port="13233"
|
||||
|
||||
Routers 10.1.41.0/24
|
||||
WG_Routers Pub Key : 9au45IDNJhHDNtN+LIpJDyMFTEYdN9WOSSHEJS8WRmw=
|
||||
Rtr_CCR1_Addr="66.171.167.250"
|
||||
Rtr_CCR1_Port="13232"
|
||||
|
||||
|
||||
|
||||
|
||||
Guy EVOQ Config:
|
||||
=================
|
||||
[Interface]
|
||||
ListenPort = 51821
|
||||
PrivateKey = IM73gYzzN3riY1KaqBAGoIyldE7a7KS6QLoaDKd/G3E=
|
||||
Address = 10.1.40.3/32
|
||||
DNS = 10.1.3.40,10.1.3.41
|
||||
|
||||
[Peer]
|
||||
PublicKey = EsxauwYNBotyfDJzy9yCUXDci2gHbtZLhUWnMgMP0AY=
|
||||
PresharedKey = em/aPlSnK78xQMABuaz7GEQ1+7FXFXE+lIoYGbZ9tRs=
|
||||
Endpoint = 66.171.167.250:13233
|
||||
AllowedIPs = 10.0.0.0/8,192.168.0.0/24
|
||||
PersistentKeepalive = 25
|
||||
|
||||
|
||||
|
||||
Steve Config:
|
||||
=============
|
||||
[Interface]
|
||||
ListenPort = 51822
|
||||
PrivateKey = OKQeBlkw7aoxtGfTlxVJpbRJqXwEzz38dk2gFShMHmI=
|
||||
Address = 10.1.40.1/32
|
||||
DNS = 10.1.3.40,10.1.3.41
|
||||
|
||||
[Peer]
|
||||
PublicKey = EsxauwYNBotyfDJzy9yCUXDci2gHbtZLhUWnMgMP0AY=
|
||||
PresharedKey = Va8qOJXqvb8GaNCLUf3yzoGYX2+wZZkKHe/d4i+/Rhs=
|
||||
Endpoint = 66.171.167.250:13233
|
||||
AllowedIPs = 10.0.0.0/8,192.168.0.0/24
|
||||
PersistentKeepalive = 25
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add allowed-address=10.1.41.253/32,172.16.100.1/32 client-keepalive=10s comment="Router 253" interface=WG-Routers preshared-key="BqdyD7C+AyMFhs67vBjCSfL4dWe3XJ1uMDg6lLgYEe4=" public-key=\
|
||||
"UlkgLQIbXkJ2dsrik1aDvOLSQrSdPpPNVLJjejE1yRU="
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
endpoint-address=${Rtr_CCR1_Addr} endpoint-port=${Rtr_CCR1_Port}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/interface wireguard
|
||||
add listen-port=13231 mtu=1420 name=wg01 private-key="8DcsFMmQVl3JyOXNuJvSiYaTqz6AqUECOSeIMDhijEA="
|
||||
/ip address add address=10.1.41.253/32 comment=wg-wg01 interface=wg01
|
||||
|
||||
/interface wireguard peers add allowed-address=10.0.0.0/8,192.168.0.0/24 client-keepalive=10 disabled=no comment="CCR1 Montreal" interface=wg01 \
|
||||
preshared-key="BqdyD7C+AyMFhs67vBjCSfL4dWe3XJ1uMDg6lLgYEe4=" public-key="9au45IDNJhHDNtN+LIpJDyMFTEYdN9WOSSHEJS8WRmw="
|
||||
|
||||
|
||||
|
||||
|
||||
endpoint-address=66.171.167.250
|
||||
10
wireguard/wg01/params
Normal file
10
wireguard/wg01/params
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
SERVER_PUB_IP=172.16.16.136
|
||||
|
||||
SERVER_WG_NIC=wg01
|
||||
SERVER_WG_IPV4=10.100.99.1
|
||||
SERVER_WG_IPV6=fd42:64:63::1
|
||||
SERVER_PORT=13231
|
||||
SERVER_PRIV_KEY=sLKaz0+jIgc3hkmob7tKXcRM1nAyKCzNn4IxhXOuv20=
|
||||
SERVER_PUB_KEY=oIZef/qKVdZm6sWzX3SqRs8Yr1wdJQEynKMtZ6+v32A=
|
||||
CLIENT_DNS_1=1.1.1.1
|
||||
CLIENT_DNS_2=8.8.8.8
|
||||
10
wireguard/wg01/wg01.conf
Normal file
10
wireguard/wg01/wg01.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Interface]
|
||||
Address = 10.100.99.1/24,fd42:64:63::1/64
|
||||
ListenPort = 13231
|
||||
PrivateKey = sLKaz0+jIgc3hkmob7tKXcRM1nAyKCzNn4IxhXOuv20=
|
||||
|
||||
### Client Router001
|
||||
[Peer]
|
||||
PublicKey = xDaZbGDa+Q66zdmnH5Ngjh0byL7bMKEdKdlQ+3wNG0U=
|
||||
PresharedKey = evIsO6Pl6d9uFSkM0RrAzkYyVqbhBiG3+1XKaXgD5Ws=
|
||||
AllowedIPs = 10.100.99.2/32,fd42:64:63::2/128
|
||||
Loading…
Add table
Add a link
Reference in a new issue