V
V
Vitaly2016-02-14 21:36:30
network hardware
Vitaly, 2016-02-14 21:36:30

How to forward all traffic through VPN PPTP on a Mikrotik router?

Hello, I have 2 Mikrotiks. On one, a pptp server is raised, on the second, a pptp client.
Server
ext IP - 10.10.10.254 Client ext IP on the bridgelocal interface - 192.168.88.1 (accordingly, all clients receive ip 192.168.88.0/24) and client ext IP via pptp - 10.10.10.20
How to configure Mikrotik client so that all traffic (PCs that connected to Mikrotik client with IP 192.168.88.0/24) went through VPN?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Diman89, 2016-02-14
@Diman89

expose the required interface in masquerading?

A
Alexander, 2016-02-14
@PodJIgaeFF

MT0 - pptp server
MT1 - pptp client
Add an explicit route to the pptp server.
Add a default route for the pptp tunnel. Once the pptp tunnel is up, all traffic (except traffic to <external IP MT0>) will go through it.

/ip route add distance=1 gateway=<ip MT0 внутри pptp туннеля>
After that, we delete the old default route from MT1.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question