P
P
Pan Propan2015-01-22 14:51:44
Computer networks
Pan Propan, 2015-01-22 14:51:44

How to set up a VPN on Mikrotik?

Help to build a network please.
Several servers are spinning in the office (1c, ftp, video surveillance).
There are 4 branches in the city. If necessary, branch employees connect to servers via RDP via a white IP, the benefit of the server is on Windows (although this is good).
In general, I didn't like it. Acquired Mikrotik RB2011UAIS. I took another channel from the provider so that I could set everything up without interrupting work.
Interfaces from the 1st to the 5th Gigabit, combined into a switch and gave them the address 192.168.1.0/24, interfaces from the 6th to the 8th also combined into a switch and assigned the subnet address 192.168.100.0/24. 9 backup interface, on the 10th WAN.
How can I connect users from outside to my internal network (that is, the head office). Raised the PPtP server, created two profiles and connected. PPTP users ping the network and each other too. Basically satisfied.
Is there a way to create a VPN connection for which DHCP will work, because now I manually set the Local and Remote Address for each PPTP profile.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dmitry, 2015-01-22
@plin2s

In these fields, you can write not only addresses, but also the names of dhcp pools.

P
Pan Propan, 2015-01-22
@mgis

0_14c587_91a76c9d_orig.png
"Impossible" indeed.

V
viconts, 2015-01-22
@viconts

you can in pro profile04bb3b64dc6e44b1aa5cdf296fac113a.png

A
anton1234, 2015-01-22
@anton1234

Everything can be done on Mikrotik. Just read the manual.
And good advice, don't use the 192.168.1.0/24 network. All your branches and main office should have different subnets.

D
Dmitry, 2015-01-23
@zmeyjr

But why didn’t anyone write that PPTP is not safe, not kosher and you need to configure OpenVPN ?!
Well the principle is similar, only it is necessary to generate keys.
about openVPN on Mikrotik https://rbgeek.wordpress.com/2014/09/10/openvpn-se...
about PPTP https://en.wikipedia.org/wiki/Point-to-Point_Tunne...
UPD: or something like that. OpenVPN just for PPTP replacement example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question