S
S
sigmatik2017-06-13 15:01:35
VPN
sigmatik, 2017-06-13 15:01:35

How to start outgoing VPN connection through a specific mikrotik port?

Good afternoon! There is a router connected to two providers, both work using PPPoE technology, respectively, the interfaces are called pppoe-out1 and pppoe-out2 . Using the Distance parameter, the priority of using provider number 1 is configured, that is, its distance is 1 and the second one is 2.
There is also an outgoing VPN connection pptp-out1. Like all other traffic, connection to an external VPN server is made through pppoe-out1, at least while provider #1 is running.
Question: how to force pptp-out1 to work through provider #2?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Tallmange, 2017-06-13
@p00h

/ip route add dst-address=1.1.1.1 gateway=pppoe-out2
where 1.1.1.1 is the address of the pptp server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question