First Commit
This commit is contained in:
commit
bd67283438
142 changed files with 5061 additions and 0 deletions
17
wireguard/wg3/mikrotik/wg3.rsc
Normal file
17
wireguard/wg3/mikrotik/wg3.rsc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# WireGuard interface configure
|
||||
/interface wireguard
|
||||
add listen-port=14322 mtu=1420 name=wg3 private-key=\
|
||||
"YI4o0wICXciiX8aP/ZEhwqZk9VhoCxUbzG7TTuRmsVc="
|
||||
/ip firewall filter
|
||||
add action=accept chain=input comment=wg-wg3 dst-port=14322 protocol=udp
|
||||
/ip firewall filter move [/ip firewall filter find comment=wg-wg3] 1
|
||||
/ip address
|
||||
add address=172.16.254.5/24 comment=wg-wg3 interface=wg3
|
||||
|
||||
# WireGuard client peer configure
|
||||
/interface wireguard peers
|
||||
add allowed-address=172.16.254.6/32 comment=\
|
||||
wg3-client-pogo interface=wg3 \
|
||||
preshared-key="S1P4YbYgT8C+A5sVbnZD+Cl69C/rvq8lNnBPI2u36Xc=" public-key=\
|
||||
"Jsvkuk+YxJjpCasQ3ecGaZ+Xz1FazjVVL+IeZZX+GHI="
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue