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.135.135.2/32 comment=\
|
||||
wg2-client-Pixel4a interface=wg2 \
|
||||
preshared-key="ts81qK9plBC1Rjc4HrF0LbuaO7tb6it105pvGv/h2AY=" public-key=\
|
||||
"8C5Kz1OZklTqIhJSdA/+Bvz7pSUJYmStXQAjvITuHXQ="
|
||||
|
||||
10
wireguard/wg2/client/Pixel4a/wg2-client-Pixel4a.conf
Normal file
10
wireguard/wg2/client/Pixel4a/wg2-client-Pixel4a.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Interface]
|
||||
PrivateKey = SAaJsGUnGfuYx0SVUIEJZoPvcRhMWRtHS1LA6R5hzFM=
|
||||
Address = 10.135.135.2/32,fd42:28:81::2/128
|
||||
DNS = 1.1.1.1,1.0.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = ZHUpmHK5DbMvicy4NyvUg9hzdmTVtk4Wj62l83KXt2U=
|
||||
PresharedKey = ts81qK9plBC1Rjc4HrF0LbuaO7tb6it105pvGv/h2AY=
|
||||
Endpoint = heh08h84mnt.sn.mynetname.net:13231
|
||||
AllowedIPs = 0.0.0.0/0,::/0
|
||||
BIN
wireguard/wg2/client/Pixel4a/wg2-client-Pixel4a.png
Normal file
BIN
wireguard/wg2/client/Pixel4a/wg2-client-Pixel4a.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
17
wireguard/wg2/mikrotik/wg2.rsc
Normal file
17
wireguard/wg2/mikrotik/wg2.rsc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# WireGuard interface configure
|
||||
/interface wireguard
|
||||
add listen-port=13231 mtu=1420 name=wg2 private-key=\
|
||||
"OEXvhk5+MgNqThAjxuYcAXobUCOC+BnkVLXw3Kwm1V0="
|
||||
/ip firewall filter
|
||||
add action=accept chain=input comment=wg-wg2 dst-port=13231 protocol=udp
|
||||
/ip firewall filter move [/ip firewall filter find comment=wg-wg2] 1
|
||||
/ip address
|
||||
add address=10.135.135.1/24 comment=wg-wg2 interface=wg2
|
||||
|
||||
# WireGuard client peer configure
|
||||
/interface wireguard peers
|
||||
add allowed-address=10.135.135.2/32 comment=\
|
||||
wg2-client-Pixel4a interface=wg2 \
|
||||
preshared-key="ts81qK9plBC1Rjc4HrF0LbuaO7tb6it105pvGv/h2AY=" public-key=\
|
||||
"8C5Kz1OZklTqIhJSdA/+Bvz7pSUJYmStXQAjvITuHXQ="
|
||||
|
||||
10
wireguard/wg2/params
Normal file
10
wireguard/wg2/params
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
SERVER_PUB_IP=heh08h84mnt.sn.mynetname.net
|
||||
|
||||
SERVER_WG_NIC=wg2
|
||||
SERVER_WG_IPV4=10.135.135.1
|
||||
SERVER_WG_IPV6=fd42:28:81::1
|
||||
SERVER_PORT=13231
|
||||
SERVER_PRIV_KEY=OEXvhk5+MgNqThAjxuYcAXobUCOC+BnkVLXw3Kwm1V0=
|
||||
SERVER_PUB_KEY=ZHUpmHK5DbMvicy4NyvUg9hzdmTVtk4Wj62l83KXt2U=
|
||||
CLIENT_DNS_1=1.1.1.1
|
||||
CLIENT_DNS_2=1.0.0.1
|
||||
10
wireguard/wg2/wg2.conf
Normal file
10
wireguard/wg2/wg2.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Interface]
|
||||
Address = 10.135.135.1/24,fd42:28:81::1/64
|
||||
ListenPort = 13231
|
||||
PrivateKey = OEXvhk5+MgNqThAjxuYcAXobUCOC+BnkVLXw3Kwm1V0=
|
||||
|
||||
### Client Pixel4a
|
||||
[Peer]
|
||||
PublicKey = 8C5Kz1OZklTqIhJSdA/+Bvz7pSUJYmStXQAjvITuHXQ=
|
||||
PresharedKey = ts81qK9plBC1Rjc4HrF0LbuaO7tb6it105pvGv/h2AY=
|
||||
AllowedIPs = 10.135.135.2/32,fd42:28:81::2/128
|
||||
Loading…
Add table
Add a link
Reference in a new issue