Z
Z
Ziptar2015-10-01 18:32:34
openvpn
Ziptar, 2015-10-01 18:32:34

Mikrotik: how to distribute routes via VPN (SSTP/OVPN)?

Situation #1:
Given: home ovpn server based on mikrotik rb, 1 ISP, LAN+WLAN subnet 192.168.88.0/24; range for OVPN clients 192.168.89.2-192.168.89.6;
Task: issuing OVPN routes to clients with default gate disabled via vpn at 192.168.88.0/24 and at 0.0.0.0/0 via ISP.
UPD: why is it disabled in this case - not from all devices I need Internet access through my home vpn, but, nevertheless, I need it in a neighboring home subnet.
Situation #2:
Given: a working sstp server based on mikrotik rb; second mt rb; 4 LAN subnets; 1 WLAN subnet using WDS; address range for sstp clients; routing within the office is configured manually;
Task: issuing SSTP routes to clients with default gate disabled via vpn to two local subnets; organization of routing using one of the dynamic routing protocols supported by ROS - the same applies to vpn in both situations;
UPD: issuing routes to each specific client through the mt toolkit is not suitable, because radius authentication is used.
And now the questions themselves: 1. which of the entire supported heap of the routing protocol will be able to perform these tasks? 2. Where can I read about setting it up for these tasks?
And a question in addition: please tell me the software for mapping networks =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maksim, 2015-10-02
@chumayu

The first situation:
Why not add route declarations to the client's config file?
If the client (if I'm not mistaken):
route xxxx(ip) xxxx(mask)
And if from the server side then:
push "route xxxx(ip) xxxx(mask)"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question