S
S
spazmoGnom2021-02-05 03:17:25
Mikrotik
spazmoGnom, 2021-02-05 03:17:25

How to connect Mikrotik hap ac2 to wireguard server?

How to connect Mikrotik hap ac2 to wireguard server?

There are many articles on the Internet on how to make a Wireguard provider out of a Mikrotik router, but it’s hard for me to understand how to use Mikrotik as a client on the contrary and so that he can simply connect, let’s say to IP 88.77.66.55 on port 21210 + with PresharedKey + always took I have an IP inside the wireguard network, for example 10.100.100.88

That is, there is such a config, but how to use the rotary as a client and how to connect using this config ... I have not figured it out yet.

[Interface]
Address = 10.100.100.88/24
DNS = 1.1.1.1
PrivateKey = <SOME_PRIVATE_KEY>

[Peer]
PublicKey = <SOME_PUBLIC_KEY>
PresharedKey = <SOME_PRESHARED_KEY>
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = 88.77.66.55:21210
PersistentKeepalive = 25

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2021-02-05
@Tabletko

No way. WG is only available in Router OS 7 dev version

G
Gregory, 2021-02-07
@Maxlinus

https://habr.com/ru/post/521468/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question