M
M
Misty Hedgehog2016-07-26 07:54:08
VPN
Misty Hedgehog, 2016-07-26 07:54:08

[SOLVED] VPN (PPTP) over PPPoE on Mikrotik?

Good day, %username%!
Given :
* Mikrotik (hAP lite ver. 6.36rc40);
* Connection to the global network through a provider via PPPoE on the WAN port;
* Details for connecting via PPTP to a remote server.

PPPoE client is configured, access to the global network is available:
0a0f894e73e14ae4b79a476e5f7ad5dc.png

Required :
* Establish a PPTP connection to, for example - hideme.ru, and send all traffic through it;
* If a PPTP connection is not available, use a simple PPPoE connection (no VPN).
What was done :
I tried to configure according to the manual , with an optional attempt to let all traffic through the VPN, but in vain. As soon as I create a "PPTP Client" on the "PPP" tab (without "Add default route") - all traffic immediately tries to languish over the VPN, and NAT masquarade for the pptp interface does not help.
In general - I'm in some difficulty. If you poke a link, or tell me as detailed as a howto, I will be damn grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iAzzy, 2016-07-26
@paramtamtam

/ip route add dst-address=0.0.0.0/0 gateway=PPTP interface distance=10
/ip route add dst-address=0.0.0.0/0 gateway=PPPoE interface distance=20
/ip route add dst-address= (PPPTP server IP) gateway=PPPoE-interface
add-default-route do not set on any interface

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question