sobota, 30. maj 2015

Mikrotik PPTP VPN Server setup


Why would I want a PPTP VPN to my router anyway?

Well maybe you need access to your home network from remote location or (the reason I use VPN on my Router) is to encrypt your traffic when connected to open hotspots or some kind of public network access. You never know who is snooping around.

So PPTP is the most simple to set up and compared to L2TP/IPSec or OpenVPN the least secure.

So let’s jump right into configuring it:

First we need a new IP pool. IP pools are used to define range of IP addresses that will be used for your PPTP VPN server. Configure a pool of addresses you need, outside your DHCP pool.

Now we create a VPN Profile.

Give your profile a name and bind it to your bridge. You can use Google DNS as im using in this example.

 
 
Now we just need some users.
 
 
 
 

Create your users username that you Will use with your Windows client and a good strong password. Assign him a VPN Profile we created.
 
Now wee need to activate a PPTP Server and assign him a VPN Profile.
 
 
 
 
The next two steps are optional. If you did all above steps your VPN should work.
 
Optional config 1 - Create PPTP Server binding
 
In this step you bind user ppp1 to interface pptp-in1. This is very useful if you need to create firewall rules for a specific user.
 
Optional Config 2 - Change ARP mode for bridge
 
If you skip this step, you will be able to connect to your VPN server, you will have the same public IP as your VPN server, but you will not see any other devices connected on this subnet. If this is OK for you, you don’t need to do anything else.
If you want to see other devices in your subnet, you must change ARP mode for your Bridge. For more details about ARP modes go to mikrotik documentation
 
That is all. I hope this has been some help to you.  May the force be with you all. :D