Skip to main content

Mikrotik PPTP Client Setup

Here are step by step to setup PPTP Client on Mikrotik. First, create a new PPTP interface by click PPP menu, then add PPTP Client. Please make sure to enter the following data in the fields:
On General Tab :
  • Name: Anything you want, but if creating multiple connections it makes sense to name them like "pptp-out1"
  • Max MTU + Max MRU: Set to 1400
On Dial Out tab :
  • Connect To: IP or Host your VPN / PPTP server
  • User: Your VPN account username
  • Password: Your PPTP password.
  • Check "Dial On Demand" to ensure that the connection is being dialed when needed but disconnected.
  • Check "Add Default Route" to ensure correct traffic routing.
  • Allow: Leave all authentication methods checked, as it should be by default already.
  • Leave the "Enabled" checkbox unchecked, we still have to do some things.
  • Click on "OK".
Now please go to "IP" tab and select "Firewall" and "NAT".
  • In "Chain", select "srcnat", and check the "Enabled" checkbox.
  • In "Out. Interface", select the name of the PPTP VPN connection you just created and check its checkbox.
  • In "Action", select "Masquerade".
  • Click "OK".
Go the "Mangle" tab, select "Add new".
  • In "Chain", select "prerouting".
  • In "Src. Adress", enter the IP range you want to have routed through the VPN connection. To route all IPs in the Mikrotik routers subnet (assuming the router is 192.168.88.1), enter "192.168.88.2-192.168.88.254". Check the checkbox next to this field.
  • In "Action", select "mark routing".
  • In "New Routing Mark", here enter any name for the routing mark, e.g. "pptp-conn"
  • Click "OK".
Go to "IP" and then to "Routes" and "Add New".
  • Dst. Address: has to be "0.0.0.0/0".
  • Gateway: Here enter the name of the VPN connection you created. (e.g. "pptp-out1")
  • Routing Mark: select the routing mark you created before. (e.g. "pptp-conn")
  • Click "OK".
Go to "IP" and then to "DNS".
  • Select "Static" and now "Settings"
  • Check "Enabled"
  • In the "Servers" fields, enter OpenDNS servers,"8.8.8.8" into one field, and "8.8.4.4" into another.
  • Check "Allow Remote Requests".
  • Click "OK".
Now it depends: if you've set your gateway router to set the IPs for its connected devices automatically via DHCP, you need to change the DHCP-client settings of the Mikrotik router - otherwise it will override the DNS settings you've just set.
If you have set all IPs in your network manually, you can skip this step :
  • Go to "IP" and "DHCP Client".
  • Doubleclick your dhcp entry and then uncheck "Use Peer DNS".
  • Now click "OK."
That's all, now we're going to test the PPTP connection.

Comments

Popular posts from this blog

Mikrotik Script for DNSDynamic, DDNS and IP-Change Update

I often use this script to automatically update Dynamic IP on Mikrotik. Condition of dial-up done by Mikrotik, so the modem using Bridge mode, and you've been setting up email on the Tool >> email in your Mikrotik. Download here : And for other dynamic DNS providers please download this script: Script for DDNS and IP-Change DNSDynamic here ______________________________________________________________________________ This article is translated version to English from Bahasa Indonesia by Google. Original post was write by cirebonwifi

Discussion Of The RoMon Mikrotik

Discussion Of The RoMon Mikrotik RoMON was abbreviated from the Router Management Overlay Network which is a new feature on Mikrotik RouterOS version 6.28. This may still feature RoMON alien to You, because it is available in a new version of RouterOS and WinBox. Well, to find out more what it RoMON Mikrotik, let's discuss in this article. The Meaning Of The RoMON What is RoMON? RoMON (Router Management Overlay Network) is a Mikrotik proprietary protocol (the protocol is only supported on devices Mikrotik), which can make the connection secure layer2 (secure) to MikroTik devices either through Physical connection ( Ethernet) or Layer2 Tunnel.  In addition, RoMON also has the following features: Discovery and management MikroTik devices via Ping, SSH, Winbox (version 3.0. rc 9 and above). Able to do discovery (search) the MikroTik devices enable RoMON which has gone through multiple hops. So with this we can detect RoMON device on WinBox Mikrotik Mikrotik dev...

How to Install Windows XP on a VPS by using Custom Vultr ISO Win XP Pro

Here is how to install Windows XP on a VPS by using Custom Vultr ISO Win XP Pro that was made specifically to be able to run on a VPS Vultr. Using VPS Vultr to install Windows XP, we can later do a RDP (Remote Desktop Protocol) Windows XP in Vultr easily and cheaply. As I've described in my previous article about Tutorial How to Install Mikrotik in VPS Vultr, that Vultr this is the VPS vendor that offers cheap VPS package price. With $5 we can already rent a VPS with the specifications of 1 GB of RAM, 25 GB of SSD, 1 Core CPU Bandwidth, and 1 TB. Why Use Windows XP? I use windows xp than any other version of Windows newer because Win XP it's efficient in the use of the RAM. When compared to other versions of windows, especially windows server, then a windows xpRAM consumption more efficient. This greatly helps for those of us who are going to use a lot of applications in windows XP RDP in VPS Vultr. By using the windows operating system will allow you to more u...