Skip to main content

Setup VPN Client on Mikrotik Router

For some reason, we want to make the proxy as a VPN client and forward the entire connection from the client to the VPN server Mikrotik. The following are the steps to configure Mikrotik as VPN-Client:

IMPORTANT: Don't setup your Mikrotik RouterOS remotely. You have to be connected via the LAN interface, otherwise you will cut the connection (access to the router) and you will not be able to access it remotely any more.

1.Update Router OS on your Mikrotik router to latest version (at least version v5.8)
2.Connect to your Mikrotik router via WinBox.
3.Setup the DNS servers manually to Google DNS: IP -> DNS -> Settings -> Servers
8.8.8.8 and  8.8.4.4
20800885818855766694.png

4.Write down the default gateway IP address of your Internet provider (ISP) and remove the default-route (Dst. Address = 0.0.0.0/0 routed via your ISP GW) from the routing table. If you don't use DHCP Client please follow the STEP 5.
44976454911680081422.png

5.Go to IP -> DHCP Client and disable the "Add Default Route" option.

6.Your routing table should not contain any default route now. See the screen bellow.


7.Add new static route to your routing table. Dst. address is an IP address of the VPN server you want connect to. Gateway is the default gateway IP address of your Internet provider (ISP). You should have the IP written down since STEP 1.
53301433264022781370.png

8.Setup the PPTP client according to the screens bellow. Status should appear as connected once you click Apply.


9.Please check your interfaces and routing table again. The correct configuration should look similar to the screen bellow.
59154910121762456275.png

10.Now you should be able to ping for example google.com. If all works well, then you can setup NAT masquerade of your LAN network so all devices behind the Mikrotik Router will use the VPN connection.

53301433264022781370.png

That's all folk.


Comments

Popular posts from this blog

Usability Of Wireless Tools Mikrotik

Usability Of Wireless Tools Mikrotik Explanation of the use of Wireless Tools-Mikrotik Mikrotik Router has Wireless functionality and features that we can take advantage of for communication between devices with Mikrotik wireless communication using the media. But not all Mikrotik Wireless feature can use this, because not all types of Mikrotik is no Wireless Card. Usability Of Wireless Tools Mikrotik Call it Mikrotik RB 750 who only got 5 ethernet interface and without the wireless interface because there is no wireless card. Specific to Mikrotik Pool, most could use Wireless because it features a Mini PCI slot is available for the wireless card. OK, this time we will learn wireless wireless usage i.e. Mikrotik tools standard Mikrotik. Wireless tools is very important in building wireless networks with mikrotik, to monitor and monitor the condition of the wireless network around the US. To use the wireless tools, you can use the winbox and into the Wireless menu. ...

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...

What is the Maximum Distance for UTP Cable PoE Mikrotik?

What is the Maximum Distance for UTP Cable PoE Mikrotik? How much is the maximum distance for UTP Cable PoE Mikrotik? These questions may never show up your memory settings which are often mainly mikrotik Mikrotik. Poe or the length of the Power over Ethernet is a device which can transmit electricity through the medium voltage cable UTP to power other tools or Mikrotik. So no need to pull the power adapter cable is too long. A perfect solution for those of you who wish to establish a wireless network Mikrotik good outdoor Point to Point (PtP) and Point to Multi Point (PtM). Already know right like what forms of Power over Ethernet (PoE) Mikrotik? The appearance of PoE his Mikrotik as below. On the image of PoE at the top, there are two ports for RJ-45 connector. LAN ports--> from PoE to the PC for remote Mikrotik. Maximum cable length of 100 meters. Port POE--> from PoE to Mikrotik Mikrotik to animate. Maximum cable length? In theory the maximum distanc...