OpenVPN for Dummies II
Posted: 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. 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 : 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: 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).
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. 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 : 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: 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).