How to define X-VPN in Xiamo with openwrt

hi i have a membership with X-VPN company. i need to define my vpn on my router to be able to share vpn with my other devices. Please guide me on how to do this. my router is Xiaomi Mi 4A Gigabit Edition and I am trying to perform this action in Iran, Tehran.

googled vpn openwrt ?

Well, I think it's evident that I already performed a Google investigation before sending this post but yet again there is no article on how to do this. Please provide more information if you are willing to help.

I don't think it is. If you had googled vpn openwrt or similar you'd have got plenty of results back which would point you in the correct direction on how to set up a VPN.

You've got this the wrong way round. You need to provide more information. Starting with are you using stock OpenWRT on your router or the Xiaomi firmware? If it's the latter then you're going to need to seek assistance from Xiaomi.

2 Likes

I tried a lot of them but still couldn't make it happen. it's OpenWRT. I tried this article:

and also installed the softwares that can be seen in the screenshot below.

I also installed Passwall on my router to use v2ray protocol, but even that one didn't work because every time I added a node it kept removing it and kept creating the default node back.

Reset, and try one of the OpenVPN guides on Google from some VPN provider, but use the tunnel config from X-VPN.

2 Likes

Thank you. I'm going to try this as well and hopefully, it will work.

Do you have a list of VPN protocols available to you?

You're talking about "v2ray" and "passwall" (which I both don't know) and you're trying to install l2tp.
Neither "v2ray" nor "passwall" are listed on the publicly available website of X-VPN.
L2TP is listed there, but its "disable". Just like WireGuard.

My suggestion: If they provide WireGuard support and have documentation for it, better run with WireGuard. In contrast to other VPN protocols there are not too many config options and everything can be done nicely in LuCI web ui.

those are for bypassing the GFW, if I remember correctly, might be the same use case here.