How to connect MikroTik to VPN server

2 min.

Import ".ovpn" configuration file to MikroTik

  • Log in to MikroTik web interface and click the “WebFig” button. (1)
  • In the menu on the left, select “Files”. (2)
  • And in the “Upload” field, click the “Select file” button. (3)

  • Find the ".ovpn" file you need and upload it (1), (2).

After downloading the “.ovpn” file, you need to extract it.

  • Go to the “Terminal” button (1) to open a command prompt.
  • In the command prompt, enter the following commands (2):
certificate/import file-name=$file.ovpn. 
  • Enter user password:
"$file.ovpn" (passphrase: *************)
  • To see the information about the imported certificates, enter the command (3)

Creation of OVPN Client:

  • Click on the “WebFig” button. (1).
  • In the menu on the left, select “Interfaces” option. (2)
  • Create an OVPN client “OVPN Client”. (3)

To connect MikroTik as an OVPN-Admin client, the following basic settings are required:

  • OVPN client name, “ovpn-out1”. (individually) (1)
  • Maximum MTU, “1340”. (individually) (2)
  • Remote IP address of the OVPN-Admin server. (individually) (3)
  • OVPN-Admin server port, “1194”  (4) 
  • The protocol that the VPN will work with is “udp”.  (5)
  • Username, “admin_test”. (individually)   (6) 
  • User certificate, “admin_test.ovpn_0”. (individually)  (7) 
  • Authorization, “sha1”  (8) 
  • Cipher-VPN, “aes 256”  (9) 
  • Click the “Apply” button (10) to apply the settings and click the Ok button (11) to save the changes. Then check the status.

Was this information helpful?
Yes   No
By continuing to use this website you will be agreeing to the website Acceptable Use Policy and the Use of Cookies while using the website and our services. Please also read our Privacy Policy under which, to the extent stated, you consent to the processing of your personal data.