Answer the question
In order to leave comments, you need to log in
PPTP (VPN) over L2TP on a Mikrotik hAP router?
Good evening!
Internet is up on the wifi router - l2TP statics. (Akado provider)
It is necessary to start up all traffic on PPTP (VPN) connection. When the connection is broken, block all traffic.
Tried to follow these instructions . Nothing works.
How did you do it? Turned off add-default-route on l2TP
Created a PPTP client, entered the data:
Connect - pptp.vpn.ru (ip - 176.222.245.22)
Login - login
Password - password
unchecked add-default-route
In the terminal entered sequentially
/ ip route add dst-address=0.0.0.0/0 gateway=pptp distance=10
/ip route add dst-address=0.0.0.0/0 gateway=l2tp distance=20
/ip route add dst-address=176.222.245.22 gateway=l2tp
Answer the question
In order to leave comments, you need to log in
/ip route
add distance=1 gateway=vpn_l2tp routing-mark=l2tp
add distance=1 gateway=vpn_pptp routing-mark=pptp
add distance=1 gateway=PPPoE_DOMRU
/ip route rule
add action=lookup-only-in-table dst-address=8.8.8.8/32 table=l2tp
add action=lookup-only-in-table dst-address=8.8.4.4/32 table=l2tp
add action=lookup-only-in-table dst-address=IP_pptp_server table=l2tp
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question