Community discussions

MikroTik App
 
mali2003
newbie
Topic Author
Posts: 26
Joined: Sat Oct 21, 2017 1:15 am

VPN dns requests through vpn tunnel

Fri Jan 26, 2024 6:34 pm

Hello.

I am looking for a solution to route only these dns request through a vpn, wich addresses are stored in an addresslist.
All the others should be route to default local dns server.

which firewall rule would fit?

regards
 
mali2003
newbie
Topic Author
Posts: 26
Joined: Sat Oct 21, 2017 1:15 am

Re: VPN dns requests through vpn tunnel

Sat Jan 27, 2024 4:06 pm

Thanks Elbert for your answer.
Unfortuanetly this does not solve, what i was looking for.

My Situation:
Firewall-Adresslist: Name "VPN" contains www.dnsleak.com

IP route and rule is to route these entries of addreelist "VPN" through my VPN -> works!
But the dns reqeusts for this entries are going to my local dns server, my router.
I just wanna let them go to a dns server on VPN site.

How am i able to identify only these dns requests? that is my problem.
If i could identify them, so i can use your firewall rules to redirect them through vpn.