OpenVPN for Dummies II

Part I

  1. OPENVPN-SERVER CONFIGURATION - Secrets - Always in the PPP slider add a new secret which will be necessary for our client configuration.
    Choose your secrets configuration. This username / secret you will need to insert in your client.
    openvpn_firewallrule.JPG

  2. FIREWALL CONFIGURATION
    Add a new Firewall Rule under IP/Firewall/Filter Rules as follows for our OpenVPN-Incoming traffic. As action on the “Action” slider configure “accept”. The other sliders do not need configuration :
    openvpn_secrets.JPG

  3. CLIENT CONFIGURATION - The Client configuration files
    Create a new folder on your Linux / Windows machine to store the client certificates that you created in step 1g http://forum.mikrotik.com/t/openvpn-for-dummies-i/108680/1 I.
    Copy the files ca.cert + my_client.crt + my_client.key into this folder and create a new file called my_client.ovpn (name here has to be exactly the same as for example my_client.key). Apply the following configuration, save and copy the whole folder somewhere to your mobile phone:
    openvpn_client_config.JPG

  4. CLIENT CONFIGURATION - Importing the settings
    Install the OVPN-App on your Android-Phone and under “Import/Import Profile from SD card” search your newly created folder form step 7 and import the my_client.ovpn-file.
    Start your OVPN-App and type in your username and password combination created in step 5.

  5. OVPN-Client should connect now.

This tutorial is mainly based on the ressources for Open VPN-Server on Mikrotik Devices that you can find here: https://www.youtube.com/watch?v=if91HJH_oyw[url]MikroTik Tutorial 22 openvpn Einführung (In german language Parts 22 to 26).

Del.
It’s method work normally for me. Thanks! You have mistake in 1st part - client’s cert need client sign, not server!

Hello and thanks for your guide. How i can route the ovpn client to the subnet that opvn server have without redirect all traffic there?