Community discussions

MikroTik App
 
spexer
just joined
Topic Author
Posts: 3
Joined: Sun May 14, 2017 7:25 pm

OpenVPN for Dummies II

Wed May 17, 2017 9:28 pm

Part I

5. 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_secrets.JPG
6. 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_firewallrule.JPG
7. 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 viewtopic.php?f=2&t=121587Part 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
8. 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.

9. 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 ... l]MikroTik Tutorial 22 openvpn Einführung (In german language Parts 22 to 26).
You do not have the required permissions to view the files attached to this post.
 
bazilio
just joined
Posts: 3
Joined: Wed Mar 15, 2017 9:54 pm
Location: Ukraine

Re: OpenVPN for Dummies II

Fri Dec 01, 2017 11:19 am

Del.
It's method work normally for me. Thanks! You have mistake in 1st part - client's cert need client sign, not server!
 
paperakis
just joined
Posts: 12
Joined: Mon Jun 26, 2017 10:11 pm

Re: OpenVPN for Dummies II

Fri Dec 01, 2017 8:18 pm

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?

Who is online

Users browsing this forum: biomesh, Google [Bot], psannz, wispmikrotik, xanio, Znevna and 129 guests