0

I set up OpenVpn client on the router Mikrotik, but for some sites have ERR_NAME_NOT_RESOLVED. I am using OpenVpn on Ubuntu, but I need to use the same credentials for VPN on two different PCs, when I enabled VPN on both, it works only on one. So I decided to set up OpenVPN on Mikrotik router, I did it, but for some sites, I have the error ERR_NAME_NOT_RESOLVED. I also had this issue on Ubuntu, but I solved it by adding next lines to the username.ovpn file:

script-security 2

up /etc/openvpn/update-systemd-resolved

down /etc/openvpn/update-systemd-resolved

down-pre

dhcp-option DOMAIN-ROUTE .

But I have no idea how and where to add these lines to the Mikrotik. Can someone help me with this?

QSA
  • 1
  • I know nothing about Mikrotik in particular but I doubt that it uses systemd. Most likely you need to use `resolvconf` or so. – Tom Yan Jul 06 '22 at 08:11

0 Answers0