Repository navigation
Releases
v0.2.6
TunRay 0.2.6 is a small fix on top of 0.2.5.
- Fixed: in Settings, "Test address" and "Windows proxy exceptions" had a large empty gap between their title and their control.
- Updates show up sooner: TunRay now checks a few seconds after it opens, and again when you open its window after more than an hour. The 6-hour background check stays.
- Privacy list: easier to read, with one point per row.
Everything new in 0.2.5 (OpenVPN, faster tests, the Windscribe fix) is described in the 0.2.5 release and the changelog.
Updating: 0.2.1 and later offer this version themselves. You can also run winget upgrade MahanImanian.TunRay once winget has it. 0.2.0 can't update itself, so install it once with the installer below.
Which file do I need?
| File | What it is |
|---|---|
TunRay_0.2.6_x64-setup.exe |
The installer. Most people want this one. It also installs the service VPN mode needs, and it is what updates use. Keep the folder it suggests (Program Files) so VPN mode works. |
TunRay_0.2.6_x64-portable.zip |
Runs from any folder without installing. App ports and Whole PC work, but VPN mode and OpenVPN need the installer. It can't update itself and links to the download instead. |
SHA256SUMS.txt |
Checksums for both. |
latest.json |
Used by updates. You don't need to download it. |
openvpn-2.6.23.tar.gz |
The source code of the OpenVPN that comes with TunRay, published as its GPLv2 licence asks. You don't need it to use TunRay. |
Windows 10 and 11, 64-bit. The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway. Updates are checked against TunRay's own update key before they install.
Known limitations
- VPN mode has been run live on one Windows 10 PC and one Windows 11 PC so far. It's unavailable if TunRay is installed outside Program Files, or next to a VPN whose firewall blocks other adapters (Windscribe's, for one).
- OpenVPN servers work in VPN mode only, with
dev tunconfigs that carry their certificates inline. Rules apply to Xray servers, not to OpenVPN. - Hysteria2 links with port hopping (a port range) are skipped on import.
- Newer NekoBox builds keep their profiles in a database TunRay can't read. Paste their share links instead.
- The translations haven't been reviewed by native speakers yet.
v0.2.5
TunRay 0.2.5 adds OpenVPN, tests servers about twice as fast as 0.2.4, and fixes VPN mode next to Windscribe and other dial-up VPNs.
OpenVPN
- Drop one or more
.ovpnfiles on the window, or open them from Add servers. They run in VPN mode through OpenVPN 2.6.23, which comes with TunRay, and connect in about 2 seconds. - Options in a config that could run programs or touch your files are taken out on import, and TunRay lists what it removed. The VPN service checks the config again before every start.
- If a server needs a username and password, TunRay asks once and keeps them encrypted for your Windows account.
- Tests show OpenVPN servers as Online with a real ping, the time the server takes to answer.
Faster
- 20 working servers are tested in 81 to 120 ms, down from about 180 ms. On the same PC, v2rayN 8.0.2 took 1.4 to 2.3 s and Throne 1.4.6 took 0.27 to 0.29 s. Switching servers leaves a 12 to 18 ms gap, against about 0.75 s in v2rayN and 0.23 s in Throne. The details, including where TunRay isn't ahead, are in docs/benchmark.md.
- A server that passed a test in the last 30 minutes connects in about 0.1 s. TunRay checks it right after and goes back to your previous server if it doesn't answer.
- VPN mode starts without the 15-second stall Windows 10 could cause, and a recently tested server goes live in about a second.
Fixed
- VPN mode failed on every server next to Windscribe's IKEv2 connection and other IKEv2, SSTP, L2TP or PPTP VPNs. TunRay now sees them, and if their firewall blocks other adapters, it tells you in about 15 seconds and names the VPN.
- New sites could wait seconds for DNS in VPN mode. Names are now looked up through all DoH servers at once.
- VPN mode could reconnect over and over after "the network changed". It doesn't any more.
- The window used to open blank or on the wrong page for a moment. It now opens straight on your servers.
- Dropping files on the installed app didn't work. It does now, on the main window and in Add servers.
New licence: from this version TunRay is source available under the PolyForm Shield License 1.0.0. Using it, reading the code and changing it for yourself stay free. Using its code to offer a competing app is not allowed. 0.2.4 and earlier stay under GPL-3.0.
The full list is in the changelog.
Updating: 0.2.1 and later offer this version themselves. 0.2.0 can't update itself, so install it once with the installer below.
Which file do I need?
| File | What it is |
|---|---|
TunRay_0.2.5_x64-setup.exe |
The installer. Most people want this one. It also installs the service VPN mode needs, and it is what updates use. Keep the folder it suggests (Program Files) so VPN mode works. |
TunRay_0.2.5_x64-portable.zip |
Runs from any folder without installing. App ports and Whole PC work, but VPN mode and OpenVPN need the installer. It can't update itself and links to the download instead. |
SHA256SUMS.txt |
Checksums for both. |
latest.json |
Used by updates. You don't need to download it. |
openvpn-2.6.23.tar.gz |
The source code of the OpenVPN that comes with TunRay, published as its GPLv2 licence asks. You don't need it to use TunRay. |
Windows 10 and 11, 64-bit. The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway. Updates are checked against TunRay's own update key before they install.
Known limitations
- VPN mode has been run live on one Windows 10 PC and one Windows 11 PC so far. It's unavailable if TunRay is installed outside Program Files, or next to a VPN whose firewall blocks other adapters (Windscribe's, for one).
- OpenVPN servers work in VPN mode only, with
dev tunconfigs that carry their certificates inline. Rules apply to Xray servers, not to OpenVPN. - Hysteria2 links with port hopping (a port range) are skipped on import.
- Newer NekoBox builds keep their profiles in a database TunRay can't read. Paste their share links instead.
- The translations haven't been reviewed by native speakers yet.
TunRay 0.2.4
TunRay 0.2.4 fixes VPN mode failing with "The VPN-mode service isn't running", seen on Windows 10, and brings everything from 0.2.3.
Fixed in 0.2.4
- VPN mode recovers its service. If the TunRay service is stopped, TunRay starts it again by itself, without administrator rights. If it can't, the message says why: the service isn't installed, it stopped with a Windows error, or TunRay is installed outside Program Files, which VPN mode needs.
- The installer speaks up. If it can't set up the VPN-mode service, it says so in a dialog instead of only in its details log.
- Clearer diagnostics. Reports now show VPN mode, the service's state and whether TunRay is installed in Program Files.
New in 0.2.3
- Much faster. 20 servers are tested in about 0.15 s, connecting takes under 35 ms, and a switch leaves a 16–23 ms gap. Side by side with v2rayN 7.25.6 on the same PC, v2rayN took 1.7 s to test and left about 0.7 s while switching. How it was measured is in docs/benchmark.md.
- Updates itself. New versions download in the background and are checked against TunRay's signature. Click Update next to the TunRay name, or Restart to update in the tray, and TunRay restarts into the new version and reconnects you.
- Redesigned Add servers with a Paste from clipboard button, and a calmer way to remove failed servers that lists them by name first.
The full list is in the changelog.
Updating: 0.2.1 and later offer this version themselves. 0.2.0 can't update itself, so install it once with the installer below. If VPN mode said its service wasn't running, installing this version also lets TunRay restart the service by itself from now on.
Which file do I need?
| File | What it is |
|---|---|
TunRay_0.2.4_x64-setup.exe |
The installer. Most people want this one. It also installs the service VPN mode needs, and it is what updates use. Keep the folder it suggests (Program Files) so VPN mode works. |
TunRay_0.2.4_x64-portable.zip |
Runs from any folder without installing. App ports and Whole PC work; VPN mode needs the installer. It can't update itself and links to the download instead. |
SHA256SUMS.txt |
Checksums for both. |
latest.json |
Used by updates. You don't need to download it. |
Windows 10 and 11, 64-bit. The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway. Updates are checked against TunRay's own update key before they install.
Known limitations
- VPN mode has had one full live run through the service, on Windows 11 only. It's unavailable if TunRay is installed outside Program Files.
- Hysteria2 links with port hopping (a port range) are skipped on import.
- Newer NekoBox builds keep their profiles in a database TunRay can't read; paste their share links instead.
- The translations haven't been reviewed by native speakers yet.
TunRay 0.2.3
TunRay 0.2.3 is much faster at testing, connecting and switching, and now updates itself in the background.
Highlights
- Tests in a blink. 20 servers are tested in about 0.15 s, down from 4 s. Side by side with v2rayN 7.25.6 on the same PC, v2rayN took 1.7 s.
- Connects in under 35 ms. The engine keeps Xray started and waiting, so connecting no longer pays for starting a process.
- Switches with a 16–23 ms gap. v2rayN's gap on the same PC was about 0.7 s.
- Updates itself. New versions download in the background and are checked against TunRay's signature. Click Update next to the TunRay name, or Restart to update in the tray, and TunRay restarts into the new version and reconnects you.
- Dead servers cost one timeout, not two, when another VPN is on.
How the speed was measured is in docs/benchmark.md. The full list is in the changelog.
Updating: 0.2.1 and 0.2.2 offer this version themselves. 0.2.0 can't update itself, so install it once with the installer below.
Which file do I need?
| File | What it is |
|---|---|
TunRay_0.2.3_x64-setup.exe |
The installer. Most people want this one. It also installs the service VPN mode needs, and it is what updates use. |
TunRay_0.2.3_x64-portable.zip |
Runs from any folder without installing. App ports and Whole PC work; VPN mode needs the installer. It can't update itself and links to the download instead. |
SHA256SUMS.txt |
Checksums for both. |
latest.json |
Used by updates. You don't need to download it. |
The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway. Updates are checked against TunRay's own update key before they install.
Known limitations
- VPN mode has had one full live run through the service, on Windows 11 only. It's unavailable if TunRay is installed outside Program Files.
- Hysteria2 links with port hopping (a port range) are skipped on import.
- Newer NekoBox builds keep their profiles in a database TunRay can't read; paste their share links instead.
- The translations haven't been reviewed by native speakers yet.
TunRay 0.2.2
TunRay 0.2.2 fixes the Ctrl 1 to Ctrl 6 shortcuts that 0.2.1 broke, and the rest of the issues from the 0.2.0 review.
Highlights
- Ctrl 1 to Ctrl 6 switch pages again, on any keyboard layout.
- Clearer state. If the window loses its link to the engine, the sidebar says it is reconnecting instead of still showing "Protected".
- Connect uses the highlighted server, even when a filter or group hides your earlier pick.
- Safer on shared PCs. Other accounts on the same PC can no longer read TunRay's engine connection or VPN-mode activity log.
- Whole PC mode keeps the Windows proxy on when switching servers, even if the old ports take a moment to free up.
- Server addresses in non-Latin scripts now work.
The full list is in the changelog.
Updating: 0.2.1 offers this version itself. 0.2.0 can't update itself, so install it once with the installer below.
Which file do I need?
| File | What it is |
|---|---|
TunRay_0.2.2_x64-setup.exe |
The installer. Most people want this one. It also installs the service VPN mode needs, and it is what in-app updates use. |
TunRay_0.2.2_x64-portable.zip |
Runs from any folder without installing. App ports and Whole PC work; VPN mode needs the installer. It can't update itself and links to the download instead. |
SHA256SUMS.txt |
Checksums for both. |
latest.json |
Used by in-app updates. You don't need to download it. |
The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway. In-app updates are checked against TunRay's own update key before they install.
Known limitations
- VPN mode has had one full live run through the service, on Windows 11 only. It's unavailable if TunRay is installed outside Program Files.
- Hysteria2 links with port hopping (a port range) are skipped on import.
- Newer NekoBox builds keep their profiles in a database TunRay can't read; paste their share links instead.
- The translations haven't been reviewed by native speakers yet.
TunRay 0.2.1
TunRay 0.2.1 adds updates from inside the app and fixes the bugs a full review of 0.2.0 turned up.
Highlights
- Updates from inside the app. TunRay checks GitHub for a new version every 6 hours and asks before installing it. The download must carry TunRay's signature, and the app opens again on the new version. Later, Skip this version, Check now and a switch to turn checks off are in the dialog and in Settings › About.
- Hysteria2 in VPN mode. Hysteria2 servers now work in VPN mode too, not only with App ports and Whole PC.
- No more engine crash on a line that is only a protocol name, such as "ss" or "vmess", pasted or in a subscription.
- VPN mode stays on when you change other settings, and Disconnect always wins over a connect that is still starting.
- Shortcuts on Persian and Russian keyboards. Ctrl K, Ctrl T and the rest now work whatever the keyboard layout.
- Safer removing. Removing the server you are connected to asks first, and bulk remove and subscription updates keep it.
The full list is in the changelog.
Updating from 0.2.0: 0.2.0 can't update itself, so install this version once with the installer below. From 0.2.1 on, TunRay offers each new version itself.
Which file do I need?
| File | What it is |
|---|---|
TunRay_0.2.1_x64-setup.exe |
The installer. Most people want this one. It also installs the service VPN mode needs, and it is what in-app updates use. |
TunRay_0.2.1_x64-portable.zip |
Runs from any folder without installing. App ports and Whole PC work; VPN mode needs the installer. It can't update itself and links to the download instead. |
SHA256SUMS.txt |
Checksums for both. |
latest.json |
Used by in-app updates. You don't need to download it. |
The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway. In-app updates are checked against TunRay's own update key before they install.
Known limitations
- VPN mode has had one full live run through the service, on Windows 11 only. It's unavailable if TunRay is installed outside Program Files.
- Hysteria2 links with port hopping (a port range) are skipped on import.
- Newer NekoBox builds keep their profiles in a database TunRay can't read; paste their share links instead.
- The translations haven't been reviewed by native speakers yet.
TunRay 0.2.0
TunRay 0.2.0 makes testing and switching faster and more honest, adds Hysteria2 and QR code import, and tells you when it connects while the window is out of sight.
Highlights
- Tests that match your own connection. Delay is measured the way v2rayN measures it, and the list ranks itself fastest first while a test runs. With another VPN connected, tests go through your real network adapter; a server that only answers through that VPN is tagged "via VPN".
- Hysteria2 works, including salamander obfuscation. Links that pin the server certificate (pcs, vcn) or use Encrypted Client Hello (ech) pass those settings to Xray.
- A rebuilt Add servers window. Paste links or a subscription, open a QR code screenshot or photo, bring servers and subscriptions over from v2rayN, NekoRay or Throne, or send them from your phone. New servers are tested straight away.
- Know you're connected without looking. A Windows notification says when TunRay connects, switches or disconnects while its window is hidden, and the tray icon turns from grey to colour.
- Clearer failures. When a connection fails, TunRay checks the network and says whether your internet is down, your network only lets some sites through, or the server is blocked or offline.
- Subscriptions show the provider's traffic, expiry and support link, warn before they run out, download over every route at once, and can update every few hours on a schedule you pick.
- Remove failed servers in one click, or after every test.
- Quieter and quicker. Far fewer toasts, faster connecting and switching, the window closes at once, and the window uses far less CPU while connected.
- New installs start in VPN mode. The installer closes TunRay before updating, so files are no longer locked.
The full list is in the changelog.
Which file do I need?
| File | What it is |
|---|---|
TunRay_0.2.0_x64-setup.exe |
The installer. Most people want this one. It also installs the service VPN mode needs. |
TunRay_0.2.0_x64-portable.zip |
Runs from any folder without installing. App ports and Whole PC work; VPN mode needs the installer. |
SHA256SUMS.txt |
Checksums for both. |
The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway.
Known limitations
- VPN mode has had one full live run through the service, on Windows 11 only. It's unavailable if TunRay is installed outside Program Files.
- Hysteria2 links with port hopping (a port range) are skipped on import.
- Newer NekoBox builds keep their profiles in a database TunRay can't read; paste their share links instead.
- The translations haven't been reviewed by native speakers yet.
v0.1.0
The first release of TunRay, a fast Xray client for Windows 10 and 11.
What's in it
- Add servers from share links, subscriptions, or v2rayN and NekoRay on the same PC.
- Test every server with a real request, then connect with one click.
- Switch servers with a double-click. The new server is proven first and takes over the same local ports.
- App ports, Whole PC and VPN mode.
- Subscriptions that update on demand or on a schedule.
- Recovers on its own after sleep and network changes.
- Rules, an Activity view, a command palette and a right-click server menu.
- English, فارسی, 中文 and Русский.
Downloads
TunRay_0.1.0_x64-setup.exe: the installer. Most people want this one.TunRay_0.1.0_x64-portable.zip: runs from any folder. VPN mode needs the installer.SHA256SUMS.txt: checksums for both.
The installer isn't code-signed yet, so Windows may say "Windows protected your PC". Choose More info, then Run anyway.
Known limitations
- VPN mode hasn't had a full live run through the service yet.
- Hysteria2 servers are listed but can't be used yet.