Community discussions

MikroTik App
 
mostfa228
just joined
Topic Author
Posts: 16
Joined: Sun Nov 19, 2017 1:17 am

Transfet DNS requests to l2tp-out1

Wed Dec 01, 2021 2:48 am

hello
i want to Transfet all DNS to l2tp-out1
Because ping high in my country is very high and some time)(timeout), but when I use the vpn by L2TP Client , I find that 8.8.8.8 is much faster. I want to pass all 8.8.8.8 requests to l2tp-out1
i use hotspot
Last edited by mostfa228 on Thu Dec 02, 2021 1:21 am, edited 1 time in total.
 
mostfa228
just joined
Topic Author
Posts: 16
Joined: Sun Nov 19, 2017 1:17 am

Re: Transfet DNS requests to l2tp-out1

Thu Dec 02, 2021 1:20 am

up
up
up
 
mostfa228
just joined
Topic Author
Posts: 16
Joined: Sun Nov 19, 2017 1:17 am

Re: Transfet DNS requests to l2tp-out1

Sat Dec 04, 2021 1:59 am

up
up
uo
 
User avatar
smyers119
Member Candidate
Member Candidate
Posts: 232
Joined: Sat Feb 27, 2021 8:16 pm
Location: USA

Re: Transfet DNS requests to l2tp-out1

Sat Dec 04, 2021 2:41 am

Create a mangle rule in prerouting with action "mark routing"
Use that mangle rule in the routing table to send those packets to your l2tp vpn
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: Transfet DNS requests to l2tp-out1

Sat Dec 04, 2021 4:50 am

you already got that feature by using:
/intr l2tp-client add use-peer-dns=exclusively
 
mostfa228
just joined
Topic Author
Posts: 16
Joined: Sun Nov 19, 2017 1:17 am

Re: Transfet DNS requests to l2tp-out1

Thu Dec 09, 2021 4:29 am

you already got that feature by using:
/intr l2tp-client add use-peer-dns=exclusively

just that without any roule or route/

Who is online

Users browsing this forum: Bing [Bot], eddieb, hatred, massinia, Michiganbroadband, PavelRadvan and 83 guests