Related guides
How to Use OpenVPN and When to Choose It
Updated
The OpenVPN section uses the twenty-year-old open-source protocol that nearly every OS, router firmware and NAS ships a client for. LeoTun packages it as “click a flag, download one .ovpn file, import, connect”: the profile already carries your credentials and encryption material, nothing typed by hand. It does best in the places that only speak OpenVPN: OpenWrt routers, Synology and QNAP NAS, Linux servers, old devices (on phones and laptops, AnyConnect or Hiddify is easier). Below: when to choose it, importing on each platform, split routing inside China, and what to check when it fails.
Where it beats AnyConnect and Hiddify
- Devices that only speak OpenVPN: router firmware (OpenWrt, Merlin, DD-WRT), NAS (Synology, QNAP), Linux servers, old systems. Hiddify does not install there and AnyConnect has no client.
- Unattended, connect-at-boot setups: the configuration is a single file that the system’s VPN settings can start at boot with no interface interaction.
- Daily use on phones and laptops: AnyConnect needs no import and Hiddify handles packet loss better; both are more convenient for daily use. OpenVPN tries UDP first and falls back to TCP automatically when UDP is blocked, so it stays connected; on such networks AnyConnect is faster.
- One account works with all three; there is no need to pick just one.
Step by step, with screenshots
Pick your system and follow the screenshots. The button on the right plays the video, and any screenshot enlarges when you click it.
- 1
Open the website and click Sign In at the top right.
- 2
Enter your account email and password, then click Sign In.
- 3
You are signed in. If the browser shows a prompt, you can dismiss it.
- 4
Click OpenVPN in the navigation bar.
- 5
Scroll down to Client and click the Windows button to download the installer.
- 6
When the download finishes, open the installer, accept the license, and click Next.
- 7
Click Yes when Windows asks for permission, then wait for the installation to finish.
- 8
Next, search for OpenVPN Connect in the Start menu and open it.
- 9
On first launch, click Agree to continue.
- 10
Back on the website, click the flag of the region you want, to download its profile.
- 11
In OpenVPN Connect, choose Upload file, click Browse, select the profile you just downloaded, and confirm the import.
- 12
Click Connect.
- 13
Once it shows Connected, you are ready to go.
- 14
Open YouTube to check. It loads normally, so the setup works.
- 15
To switch regions later, just download another flag's profile and import it.
Notes and other systems
- iPhone and iPad have no video: install the official OpenVPN Connect from the table on this site’s OpenVPN page, log in and click a region’s flag to download its .ovpn file, then open or import it in the client and connect.
- Besides OpenVPN Connect, Windows can use OpenVPN GUI and macOS Tunnelblick; all read the same profile.
- Windows, macOS, Android and iOS profiles have credentials built in, so there is nothing to enter; only Linux asks for your site email and password on the first connection.
- One file per region; download as many as you need.
Routers, NAS and Linux
- OpenWrt router: install luci-app-openvpn, upload the .ovpn, enable it, and the whole LAN takes the route. A router on this site’s firmware skips this — just log in with the account.
- Synology NAS: Control Panel → Network → Network Interface → Create → VPN → OpenVPN (via importing a .ovpn file). Tick “Use default gateway on remote network” only if the NAS’s outbound traffic should take the route; leave it unticked if you only want the NAS reachable.
- QNAP NAS: QVPN → VPN Client → Add → OpenVPN, import the file.
- Linux desktop: Network settings → VPN → Import from file. Command line (install the openvpn package on Debian/Ubuntu first):
openvpn --config <file>For start at boot, place the file in /etc/openvpn/client/ and enable the matching systemd unit.
Inside China: keep Chinese sites direct
Connected from inside China, all traffic leaves overseas and Chinese sites slow down on the detour. This site offers a “China direct” tool: download, double-click, and Chinese IPs go direct while everything else takes the route — shared by the Cisco and OpenVPN sections. The LAN is direct already and needs no handling.
Users abroad should ignore this tool — it sends Chinese sites around the route, the opposite of what watching Chinese video needs.
For finer rules (by domain, by app) use the router option or Hiddify routing rules.
When it will not connect, check in this order
- Try another region’s profile. If another region connects, that one server is temporarily unreachable.
- Read the log. AUTH_FAILED means wrong credentials or an expired account; a UDP timeout followed by a successful TCP connection means your network restricts UDP — it works, just slower; TLS handshake failed / TLS key negotiation failed on both UDP and TCP means the server is unreachable from this network — change network or region; after a password change, download the profile again, the old one’s password is dead.
- Change networks. If broadband fails, try mobile data once and vice versa; on campus and office networks that block UDP, OpenVPN falls back to TCP and still connects but slowly — if it is too slow, switch to AnyConnect over TLS.
- Update the client. Old OpenVPN clients do not understand the newer encryption settings and show import errors or connection failures.
- After the account expires the server ends the session; reconnect after renewing, the profile stays valid.
Security notes
The profile carries your credentials — it is the account. Do not send it to others or upload it anywhere public. If it leaks, change your password on the site: old files stop working immediately, then download again.
The handshake itself is encrypted: without the key in your profile nobody can even start one, so the servers are invisible to scanners. That is also why old clients must be updated — OpenVPN releases before 2.5 do not support this handshake.
Encryption is AES-256-GCM, comparable in strength to AnyConnect.
FAQ
Is OpenVPN or AnyConnect more secure?
Both are mature encrypted protocols of comparable strength. The difference is device support and network tolerance: AnyConnect over TLS is steadier on restricted networks; OpenVPN is more universal on routers and NAS.
Can one profile be used on several devices?
Yes — one account allows 2, 4 or 8 devices online at once (Personal, Family, Enterprise), and the file can be copied to each. A router counts as one device; the devices behind it do not.
Why must Linux ask for the password?
Linux network managers ignore the credentials embedded in the file when importing, so the first connection asks once and remembers afterwards.
What about profiles on a router or NAS after a password change?
Download the .ovpn again and replace it, or edit only the password field in the device’s VPN settings. A password change is the intended revocation mechanism, so old files failing is by design.
Does OpenVPN use UDP or TCP?
Both — nothing to choose. UDP is listed first in the profile, so the client tries UDP; if UDP is blocked or fails, it switches to TCP after a few seconds. UDP has lower latency and suits video and games; TCP is the fallback that makes sure you can connect. On networks that always block UDP, use AnyConnect — same account, nothing extra to buy. Profiles downloaded before 15 September 2026 contain UDP only; download again to get the automatic fallback.