Export OpenVPN config file from server setup on RUTX10

Hi all,

Currently, I’m using RUTX10 for the below scenario:
In location B, the RUTX10 WAN port is connected to Starlink. Also, some IoT devices are connected to RUTX10 LAN ports.
The requirement is that I can see IoT devices from location A, and I have access to them with private IP.

I configured an OpenVPN server (TAP) on RUTX10 (this document guide).
Now, I want to export an OpenVPN config file from the server and import it to OpenVPN Connect on my PC. Is it possible?

My next question is, what about other VPN solutions? Is there any suggestion to replace it with OpenVPN in my scenario?
It should be secure, reliable, and easy to configure and maintain.

Hello,

You can export the OpenVPN file from the WebUI by navigating to Services → VPN → OpenVPN:

Please ensure your device is running the latest 7.11.3 firmware version, which can be downloaded here: RUTX10 Firmware Downloads.

Regarding VPN options, in addition to OpenVPN, the RUTX10 supports GRE, IPsec, PPTP, SSTP, Stunnel, DMVPN, L2TP, L2TPv3, ZeroTier, WireGuard, Tinc, and Tailscale VPNs. I recommend checking our wiki page for details about RUTX10 VPN options, descriptions, and configurations: RUTX10 VPN.

If you have further questions or need assistance, please feel free to reach out!

Best regards,

I am going to use RUTX100 as a WireGurd VPN server, and the client can connect to it.
At the first step, is it possible? If I truly understand.
Let me share my configuration step by step:

  1. I assign 192.168.10.1 to the RUTX10 LAN.
  2. Add a VPN instance in the router like the below screenshot:

  1. Add a Peers instance to and paste Public Key from the last step:

  1. Update general firewall zone rules:

  1. I downloaded the WireGurd client application and couldn’t find the export configuration file. So, I found the format for the config file below and updated it.
    I was confused about which private and public keys should be added to the configuration file, and finally, I added server keys that I had copied from the VPN setup step on RUTX100. (I’m not sure if this is correct or not)
[Interface]
PrivateKey = XXXXX
Address = 192.168.11.2/32
DNS = 1.1.1.1, 8.8.8.8

[Peer]
PublicKey = XXXXXX
Endpoint = X.X.X.X(my wan ip):51820
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
  1. Import this configuration to the WireGurd application client and activate it.

But when the VPN connected, I didn’t have an internet connection and couldn’t see the RUTX100 LAN IP (192.168.10.1). I think it’s not connected correctly.
This ipconfig output:

What is the problem?
Should I open port 51820 on port forwarding or change the firewall rule?

Hello,

Could you please confirm if you have followed the steps outlined in this guide: WireGuard Peer-to-Peer Configuration Example?

Additionally, could you provide more details about your setup? Is it just the RUTX10 acting as the WireGuard server and your PC running WireGuard software as the client? Or are there additional devices involved in the setup?

Best regards,

Thanks to the example, my issue was fixed.

Hello,

Good to hear the issue is resolved!

If you have any more questions or need assistance, please let us know!

Best regards,

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.