Community discussions

MikroTik App
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

resolving dns via VPN?

Sun Aug 24, 2014 12:34 pm

Hello,

Can I somehow force my RB2011's DNS server to resolve IP via VPN?

I've got VPN running, and have forced all traffic to 8.8.8.8 via VPN, but when I checked using the built-in traceroute, it is not going via VPN.

It seems /ip route and mangle only works for devices connected to my RB2011, and RB2011 itself won't be affected by this setting
 
User avatar
c0d3rSh3ll
Long time Member
Long time Member
Posts: 557
Joined: Mon Jul 25, 2011 9:42 pm
Location: [admin@Chile] >

Re: resolving dns via VPN?

Sun Aug 24, 2014 7:19 pm

Add a route for 8.8.8.8 through vpn with gateway the vpn interface.
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: resolving dns via VPN?

Sun Aug 24, 2014 8:12 pm

that's what i did, and actually after seeing your reply confirming the method, i had a second look at it.

well, i made a mistake of thinking that i had mangled it with routing mark (which i forgot to do...) that's why it wasn't routing it as expected.

thanks for the help~~