Community discussions

MikroTik App
 
alexQsa
just joined
Topic Author
Posts: 1
Joined: Fri Aug 05, 2022 12:13 pm

How to set up OpenVpn for 2 diff pcs with the same creds??

Fri Aug 05, 2022 12:25 pm

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?

Who is online

Users browsing this forum: No registered users and 70 guests