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

Select Switching or Bridging of Master/Slave Port?

This question may arise when we want to create multiple interfaces at the Mikrotik to be one segment. There are some options that we can use, including IE can use Bridging techniques or use the Switching harness mode Master Slave port and Port. Both give the same results as if, but actually there is a difference. The configuration of the Master/Slave Switch Port using a special switching chip embedded on RouterBoard, so as not to overload the CPU. Mikrotik will not get too big a burden of switching on the CPU even though his passing traffic is very high. The illustrations were like in the picture above. From the illustration above pictures it can be seen that acts as a Master Port eth2 and eth3-5 as a Slave Port that uses the switching chip. Ilustrasi Switching Master Slave Port The configuration of the Master/Slave Switch Port using a special switching chip embedded on RouterBoard, so as not to overload the CPU. Mikrotik will not get too big a burden of switching on the ...