First Commit
This commit is contained in:
commit
bd67283438
142 changed files with 5061 additions and 0 deletions
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="
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue