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

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

Common Computer Errors | What The Meaning of Computer Errors

Computer errors will crop up once least expected, they will cause the complete system to suddenly close up, and that they will unknowingly corrupt information to the purpose wherever it cannot be deciphered. Although they can not continuously be avoided, it is vital to recollect that pc errors are often corrected. The key's to know what pc errors square measure, perceive what they mean after they show up, and understand how to minimize their occurrence in the first place. Computer error Basically, pc errors square measure the results of variety of things which will or might not have something to try and do with the method the pc is employed. They "operate" whenever there's a conflict among commands. Remember that computers primarily flee of a series of commands and it has always a sleek method. But once one command conflicts with another command - or once one command asks for a method or data that may not on the market, the pc returns results th...

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