VPN on MikroTik RouterOS 7 - setup guide
Updated 3 November 2026 · Applies to: MikroTik RouterOS 7 · VPN
How to set up VPN on MikroTik RouterOS 7: required credentials, client settings and checking your VPNonline connection.
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.
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.
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.
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.
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
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.
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.
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.