# MikroTik: OpenVPN with RADIUS

**URL:** <https://forum.powerlynx.app/t/mikrotik-openvpn-with-radius/122>\
**Category:** Networking\
**Tags:** mikrotik, radius, openvpn\
**Created:** [April 23, 2025, 2:50pm UTC](https://forum.powerlynx.app/t/mikrotik-openvpn-with-radius/122 "2025-04-23T14:50:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_koskov](https://forum.powerlynx.app/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@alex\_koskov](https://forum.powerlynx.app/u/alex_koskov)\
**Post date:** [April 23, 2025, 2:50pm UTC](https://forum.powerlynx.app/t/mikrotik-openvpn-with-radius/122/1 "2025-04-23T14:50:20Z")

</div>

## MikroTik: OpenVPN with RADIUS

This guide shows how to connect your MikroTik hotspot controller to Powerlynx using **OpenVPN** , especially useful if you encounter conflicts with Powerlynx’s default network or face issues with WireGuard.

* * *

### Why Use OpenVPN?

Powerlynx uses the **172.16.0.0/12** network by default, which is fixed. If your network already uses this range—for example, for another RADIUS server—it can cause conflicts.

Additional use cases:

- You’re using **RouterOS version 6** (WireGuard requires v7+).
- You need to isolate Powerlynx traffic on a separate subnet.

Powerlynx’s OpenVPN server uses the **10.112.0.0/16** range.

| Attribute | Value |
| --- | --- |
| RADIUS server IP address | 10.112.0.2 |
| OpenVPN Endpoint | openvpn.powerlynx.app:443 |

* * *

### Device Used in Example

- **MikroTik hAP AC lite**  
_(Applies to most MikroTik devices with RouterOS)_

* * *

## Configuration Steps

### 1. Create Hotspot in Powerlynx

Use the [Advanced Setup](https://docs.powerlynx.app/networking/mikrotik.html#advanced-setup) option.

- Go to your Powerlynx account.
- Create a new hotspot using Advanced setup.
- Download the OpenVPN config file.

![powerlynx_hotspot_server](https://forum.powerlynx.app/uploads/default/original/1X/9220ec6084eac2fe90aeb9c99d815b977cfdc179.gif)

* * *

### 2. Upload & Import OpenVPN Config to MikroTik

Upload the `.ovpn` file to your router.

 ![openvpn_config](https://forum.powerlynx.app/uploads/default/original/1X/7579072612c11dc71a684eb3ff0326571e1ed9bb.png)

Then import using terminal:

```auto
/interface/ovpn-client/import-ovpn-configuration ovpn-user=10.112.0.93 skip-cert-import=no

```

_(Replace `10.112.0.93` with your assigned OpenVPN IP)_

![import_conf](https://forum.powerlynx.app/uploads/default/original/1X/e96e4faac5bc607275de6486b193644b85ffc8a0.gif)

* * *

### 3. Verify Connection

Check connection on the Powerlynx side to confirm the VPN tunnel is active:

 ![check_connectivity_1](https://forum.powerlynx.app/uploads/default/original/1X/363ee2cfa2d658e2f177ef59278758f100630a67.png)

 ![check_connectivity_2](https://forum.powerlynx.app/uploads/default/original/1X/dd2d5b4e579706b9be96f3b4a728dd0436d32ec6.png)

* * *

### 4. Configure RADIUS

Copy the **RADIUS Secret** from your Powerlynx dashboard and use **10.112.0.2** as the Powerlynx RADIUS IP.

 ![radius_config](https://forum.powerlynx.app/uploads/default/original/1X/f832310f64d38add75b36bb73e27cf5de9a55ef3.png)

* * *

### 5. Complete Hotspot Configuration

Follow **steps 3, 4, 6, and 7** from this guide:  
👉 [MikroTik Hotspot: Advanced setup](https://docs.powerlynx.app/networking/mikrotik.html#advanced-setup)

* * *

For additional help, contact:  
📧 **[support@powerlynx.app](mailto:support@powerlynx.app)**
