Step 3: Set Up OpenVPN on Your Mikrotik Router

Configuring OpenVPN using NetChapChap and importing VPN files to your Mikrotik router

3.1 Create an Account and Configure VPN on NetChapChap

To set up a VPN for your Mikrotik router, you need to create an account on NetChapChap and configure a router in their dashboard:

Step-by-Step Guide:

1

Go to netchapchap.com and create an account if you don’t already have one.

2

Navigate to the Mikrotik section in the NetChapChap dashboard.

3

Click on Add Router and choose a name of your preference for the router (e.g., MyMikrotikVPN).

4

Press Configure VPN to generate the VPN configuration.

5

Download the VPN files named after your router (e.g., MyMikrotikVPN.ovpn) from the NetChapChap dashboard.

3.2 Import VPN Files to Mikrotik Router

Upload and import the downloaded VPN files to your Mikrotik router to establish the VPN connection:

Step-by-Step Guide:

1

Open Winbox and connect to your router.

2

Go to Files in the Winbox menu and click Upload. Select the downloaded VPN files (e.g., MyMikrotikVPN.ovpn) and upload them to the router.

3

Navigate to PPP > Interface in Winbox.

4

Click on OVPN Client > Import .ovpn. Select the uploaded MyMikrotikVPN.ovpn file from the NetChapChap dashboard.

/interface/ovpn-client/import-ovpn-configuration
5

Click Start to import the .ovpn file. This will create a new OVPN client interface (e.g., ovpn-importxxx).

3.3 Enable the OVPN Interface

After importing the VPN files, enable the OVPN interface to establish the VPN connection:

Step-by-Step Guide:

1

In Winbox, go to PPP > Interface.

2

Locate the newly created OVPN interface (e.g., ovpn-importxxx).

3

Click on the OVPN interface and click Enable to activate it.

4

Verify the connection by checking the PPP > Active Connections menu to ensure the VPN is connected and assigned an IP address.

Note: If the connection fails, check for issues such as incorrect credentials, certificate mismatches, or firewall settings. Ensure TCP port 1194 (or the port specified in the MyMikrotikVPN.ovpn file) is open on your network.

Next Steps

After setting up and enabling the OpenVPN connection, your Mikrotik router should be connected to the VPN server configured via NetChapChap. Proceed to the next step for further configuration or integration with your billing system.