I configured openvpn server om my mikrotik cloud router switch using https://www.medo64.com/2016/12/simple-o ... -mikrotik/
it worked fine as it s very simple to do.
I have my mikrotik being my ISP route and i forwarded (or NATTED) my openvpn port from the ISP router to the local address of the mikrotik
i can connect fine from windows 10 and from android 4.4.2 client fine, but i have no dns resolution
i can connect to websites using ip addresses though and i see in the mikrotik log and in the ppp connections that the openvpn connection is succesfull
i am not sure if this is a mikrotik issue, but i do not find any doc on how to configure dns settings on mikrotik for openvpn server
question is : do i need to specify anything in the dns server of the ppp profile that is used for the openvpn
all blogs assume that mikrotik will also be a DNS server
in my case my ISP provided dyamic dns server to my mikrotik and my devices connected to the mikrotik have dns resolution working fine
in the ppp openvpn profile i have tried setting nothing, setting google's dns, setting my fixed source openvpn ip address (128.169.7.1) but it does no do anyhting for my clients
i also tried adding properties in the client.ovpn file like these ones, but it did not help either:
setprop net.dns1 192.168.7.1
# dhcp-option DNS 192.168.7.1
# setprop net.dns1 8.8.8.8
# setprop net.dns2 8.8.4.4
do i need an extra firewall rule to let DNS pass ? i guess not
PS i have also setup a pptp vpn server on the mikrotik but my clients cannot connect, there is a tcp connection estabished but the mikrotik breaks the connection attempt after some time
or thereis a timeout of some kind
it looks like i am missing something basic here
chris