I would like to set up a wireguard connection on my RB2011. The router should connect as a client to a Linux wireguard server and send (route) certain clients or URLs over this connection.
I have a client.conf, but I can’t manage to create a working configuration and connect with it.
[Interface]
PrivateKey = qGO9k/V+fsVHl/uZLzoOpd3+F4KiNvG9u67q64JOtnM=
Address = 10.15.20.10/24
DNS = 1.1.1.1, 1.0.0.1
[Peer]
PublicKey = i38DJiFwkbznlomwyBwKsqGdzFe8ZfIsgrQ6/o04SS8
PresharedKey = /vnAYnHnb9oU31fopQWsspaR8n/36rGBo9fMLqWx0J8=
Endpoint = 1.2.3.4:51820
AllowedIPs = 0.0.0.0/0, ::0/0
## Purely informative I would like to inform that the given keys are randomly created by me and have nothing to do with my WG server.
That if I knew, I would already be further.
I have tried very many different configurations, but none have worked.
I have unfortunately not found any information that helped me with the assignment of the data from the client.conf to the inputs at Mikrotik or with which I could do something.
I will probably research again tomorrow and then again one (or more ) attempts.