Cookies and privacy

Necessary cookies support the portal. External analytics and ad measurement start only with your consent. You can accept, reject optional tools or choose categories.

Tools: Google Analytics 4, Google Ads.

Privacy policy
Skip to content
Theme
Choose a plan
Guide

VPN on MikroTik RouterOS 6 - legacy configuration (legacy)

Updated 3 November 2026 · Applies to: MikroTik RouterOS 6 · VPN

How to set up VPN on MikroTik RouterOS 6: required credentials, client settings and checking your VPNonline connection.

Legacy guide

This guide covers an older system, interface or protocol. Screenshots do not confirm current service availability. PPTP does not meet modern security expectations. For a new setup, use a supported system and a method from the downloads page.

Before you start

  • An active service and access to your customer account.
  • The VPN username and connection password from your account - these may differ from your website sign-in.
  • The current server, profile and any PSK from the matching protocol section in your account. Do not copy example passwords or hosts from screenshots.

Open connection settings

Back up the configuration and choose a protocol

Back up the router configuration. Work from the LAN or a trusted management channel and use Safe Mode. Routing differs between RouterOS 7 and RouterOS 6: a separate routing table in v7 needs FIB enabled.

  1. Step 1: Check the profile and RouterOS version

    Download the chosen server’s OpenVPN profile from your account. Check that its parameters are supported by your RouterOS release. Historical screenshots are not a source of current hosts, PSKs, certificates or ciphers.

  2. Step 2: Add the VPN client

    On current RouterOS 7 releases, use the .ovpn profile import described by MikroTik when supported by your version. For manual setup, retain the downloaded profile’s parameters, server certificate verification and separate VPN credentials.

  3. Step 3: Choose which traffic uses the tunnel

    For selected devices, use a separate routing table and rules that direct only their traffic to the VPN. Keep a WAN route to reach the VPN server. Review the impact on management access before replacing the default route or firewall.

Router management

Keep Winbox, SSH and the web interface restricted to trusted source addresses and interfaces using the firewall. Port forwarding is not required to establish a VPN client connection.

RouterOS OpenVPN · Securing your router

Video guide: MikroTik RouterOS 6

The player is provided by YouTube. Enabling it connects you to Google and is subject to its privacy policy.

Watch on YouTube

Interface reference

Illustrative screenshots

Screenshots show an earlier interface, with Polish labels where no English original was provided. Use the current profile, not the example hosts or algorithms.

MikroTik RouterOS 6 - Go to "PPP" (1) and add (2) new interface "OpenVPN Client" (3)
MikroTik RouterOS 6 - In the "General" (4) tab, "Name" (5) field , enter the interface name : VPNonline-OpenVPN
MikroTik RouterOS 6 - To confirm the entered data, click "OK" (13)
MikroTik RouterOS 6 - In the "Firewall" , select the "NAT" (16) tab, then add new rule (17)
MikroTik RouterOS 6 - In the "General" (18), select "Chain: srcnat" (19) and "Out. Interface: VPNonline-OpenVPN" (20)
MikroTik RouterOS 6 - Click "OK" (23)
MikroTik RouterOS 6 - Go to "Mangle" (24) tab, add new rule (25)
MikroTik RouterOS 6 - In the example, we have entered the entire pool of IP addresses 192.168.88.2 - 192.168.88.254, but you can enter here the single IP address of the host, e.g. 192.168.88
MikroTik RouterOS 6 - To approve changes, click "OK" (32)
MikroTik RouterOS 6 - In the "Route List" , "Routes" (35) , add new rule (36)
MikroTik RouterOS 6 - To approve changes, click "OK" (41)
MikroTik RouterOS 6 - A new routing route has been added (42) and the VPN connection should be established.

Check the connection

After the client connects, open the IP checker and compare the address and country with the selected server. Also test Internet access and DNS. A Connected status alone does not prove that all application traffic uses the tunnel.

If the connection fails

Authentication failed

Check the separate VPN username, connection password and service status in your account. Never include the password in a support request.

No Internet access or a certificate error

Download a fresh profile and check the device clock, DNS and routing. Keep certificate verification enabled. Include the device model, OS version and error message in a support request, with secrets removed.

Current apps and setup

Did this help?

We only store the answer, nothing about you.

Still not working?

Write to us. We will include this article's name, so we know what you already checked.

Write to us