To use our apps and setups, make sure you have an active SaferVPN account

L2TP Setup on Mikrotik Router

Updated on: 2017-07-09 13:23:33 UTC

Our VPN for routers immediately protects your internet privacy and security while giving you full internet freedom and instant access to content streaming.

Connect every device in your entire home or office with a Plug & Play SaferVPN Router.

To set up SaferVPN on Mikrotik router using L2TP settings, follow our step by step guide detailed below:

L2TP setup on Mikrotik router

  1. Log into the Mikrotik router, using the standard username “admin”, with a blank password.
  2. Then click on the PPP tab on the left-side menu. This will open the Interface tab.
  3. Now click on the + sign and select L2TP Client.



  4. This will open the New Interface window, fill in the fields as described below:

    Name: In this field, you can enter anything you like, for example “SaferVPN L2TP”.
    Type: L2TP client.
    L2 MTU: Blank.
    Max MTU: Leave it as default, i.e., 1450.
    Max MRU: Leave it as default, i.e., 1450.
    MRRU: 1600.



  5. Now click on the Dial Out tab, and follow the steps given below:

    Connect To: Choose any server IP or hostname from one of the SaferVPN servers. Please refer How to find SaferVPN server IP.
    User: Your SaferVPN Username.
    Password: Your L2TP SaferVPN password.
    Profile: Default-encryption.
    Keepalive Timeout: 60
    Allow: Keep all authentication methods checked.

  6. Click on OK after verifying all the inputs.



  7. Go to the IP tab on the left-side bar and select Firewall. Then click on the NAT tab and then click on + sign, as shown below:



  8. Then you will see the General settings, follow the steps as given below:

    Chain: Select srcnat from the drop down menu.
    Out Interface: Select the name of the SaferVPN L2TP connection you have just created.



  9. Select the Action tab and choose Masquerade from the drop down menu.
  10. Click OK.

  11. Once you're back to the Firewall window, click on the Mangle tab and then click on the + sign:



  12. In the New Mangle Rule window, go to the General tab and follow the steps below:

    Chain: Select Prerouting from the drop-down menu.
    Src. Address: Here you need to enter the IP range that you want to have routed through the VPN connection. For ex:- 192.168.5.150-192.168.5.250 ( assuming the router is 192.168.5.5)

    Click OK after verifying the inputs.



  13. On the same window click on the Action tab and edit the following settings: 

    Action: Select mark routing from the drop-down menu.
    New Routing Mark: In this field enter any name from the routing mark, for ex- L2TP
    Passthrough: Activated

    Click on OK after verifying the inputs.

     

  14. Now click on IP on the left side of the menu. This will open the Router List window, click on Routers and then click on the sign. In the new window, on the General tab edit the following settings:

    Dst. Address:  This should be 0.0.0.0/0
    Gateway: Here you need to enter the name of the VPN connection that you have created,  for ex- SaferVPN L2TP from the drop-down menu.
    Routing Mask: Select L2TP from the drop-down menu.

    Click on OK after verifying all the inputs.

     

  15. Adjust the DNS settings. Go to the IP in the left side of the menu and click on DNS.
  16. Select Static and then click on the + sign. A new window will open.
  17. Edit the settings as shown below:

    Name: OpenDNS
    Address: 208.67.222.222

    Click on OK after verifying the inputs.

  18. Again, click on the sign, but enter the following name in the Name field.
    Name: OpenDNS1
    Address: 208.67.220.220

    Click on OK after verifying the inputs.



  19. Once Again click on the sign, and fill the input fields as shown below:
    Name: Google
    Address: 8.8.8.8

    Click on OK after verifying the inputs. 



  20. Repeat the step again, click on the + sign, and fill the input fields as shown below:
    Name: Google1
    Address: 8.8.4.4

    Click on OK after verifying the inputs. 



  21. Now in the DNS Settings window:

    Allow Remote Requests: Activate
    And click on OK.


    Once you are done, you can check your location by clicking here.

    Need help installing our VPN on another device? Check out our: VPN for Windows, VPN for MAC, VPN for iOS, VPN for Android, VPN Router, and our VPN Chrome Extension.












 

GET SAFERVPN NOW Go to top
Have more questions? Submit a request