On the Debian 10 server installed and configured WireGuard script: https://github.com/angristan/wireguard-install
The same script generated the configuration file for the wg0-client-mikrotik.conf client:
Code: Select all
[Interface]
PrivateKey = yBen7Arcy/jRqB3zqJiPn88IHPCoHYRmRW3wT97D2F0=
Address = 10.66.66.2/32,fd42:42:42::2/128
DNS = 94.140.14.14,94.140.15.15
[Peer]
PublicKey = 004DOgL44aNB5tWmyoifjiGmi0qBIHdp3Og21EdjUV0=
PresharedKey = P8nLh48thuDSvNMJ7XPqMknWp4hpfxE4RUIuf5UBGqQ=
Endpoint = 145.239.95.214:53849
AllowedIPs = 0.0.0.0/0,::/0