bolt Valebyte VPS from $4/mo — NVMe, 60s deploy.

Get a VPS arrow_forward

Nekobox & v2rayN: VLESS Reality Setup on Windows VPS

calendar_month August 21, 2026 schedule 18 min read visibility 23 views
person
Valebyte Team
Nekobox & v2rayN: VLESS Reality Setup on Windows VPS
summarize

TL;DR

  • VLESS Reality on Windows clients (Nekoray/v2rayN) requires importing a server URI.
  • VLESS Reality offers high performance and traffic obfuscation, appearing as regular web traffic.
  • Self-hosted VPS VPNs provide full control, avoid IP blacklists, and enhance privacy.
  • Deploy VLESS Reality servers using Xray-core, sing-box, or the Hiddify panel.
  • Client setup takes ~5 mins once you have the VLESS Reality configuration URI.

To set up VLESS Reality on Windows with clients like Nekoray or v2rayN, you need to obtain a configuration URI (e.g., vless://...) from your server and import it into the client, a process that takes no more than 5 minutes if your server is already configured.

With increasing demand for privacy and bypassing geo-restrictions, setting up your own VPN on a VPS becomes an optimal solution. This avoids the risks associated with public VPN services and gives you maximum control over your traffic. The VLESS protocol with Reality transport is particularly relevant, offering high performance and traffic obfuscation, making it virtually indistinguishable from regular web traffic. In this article, we'll detail how to configure your VLESS Windows client for your own server using popular clients like Nekoray, v2rayN, and Hiddify Desktop to ensure a stable and secure connection to your VPS.

Why Choose a Self-Hosted VPN on a VPS Over Commercial Solutions?

Using your own Virtual Private Server (VPS) for deploying a VPN service offers several undeniable advantages over commercial VPN providers. First, it provides complete control over the infrastructure: you choose the server location, its configuration (e.g., 2 vCPU, 4 GB RAM, 80 GB NVMe disk), and software. This eliminates risks associated with log retention or potential data compromise by third-party providers. Second, your own VPS helps avoid blockages, as the server's IP address is known only to you and isn't on blacklists often compiled for large VPN service IP addresses. Finally, you can customize the server to your specific needs, utilizing advanced protocols like VLESS Reality, which offer high speed and excellent traffic obfuscation. A more detailed guide on the benefits and setup can be found in our main guide to VPN on your VPS: a complete guide 2026.

How to Get Your VLESS Reality Configuration from Your VPS

Before you start configuring nekobox windows or v2rayN, you'll need a working VLESS Reality server. There are several popular ways to deploy it on your VPS. The most common include using Xray-core, sing-box, or the Hiddify panel. For example, deploying VLESS Reality + Xray-core can take just 10 minutes using automated scripts, as described in our article Set up your own VPN on VPS: VLESS Reality + Xray-core in 10 minutes. Alternatively, you might consider sing-box on VPS, which is a versatile solution for various protocols, including VLESS Reality and Hysteria.

If you prefer the convenience of web-based management, the Hiddify panel is an excellent choice. It allows you not only to easily deploy VLESS Reality but also to manage multiple users, generate subscriptions, and monitor traffic. You can learn more about this in the article Hiddify on VPS: your own panel and subscriptions for VLESS Reality.

Regardless of the method chosen, the end result should be a configuration URI (link) or QR code that you will use to import into your vless windows client. An example URI looks like this:

Looking for a reliable server for your projects?

VPS from $10/month and dedicated servers from $9/month with NVMe, DDoS protection, and 24/7 support.

View offers →
vless://<UUID>@<YOUR_VPS_IP>:<PORT>?security=reality&fp=chrome&pbk=<PUBLIC_KEY>&sni=<FAKE_SNI>&sid=<SERVER_ID>#<ALIAS>

Nekoray Windows Setup: A Step-by-Step Guide for VLESS Reality

Nekoray is a powerful and flexible Windows client that supports numerous protocols, including VLESS Reality. It is based on Xray-core and offers an intuitive interface for managing connections.

Installing and First Launching Nekoray

  1. Download: Go to the official Nekoray releases page on GitHub (or its fork, Nekobox, which is essentially the same client) and download the latest stable version for Windows (usually a .zip archive, e.g., Nekoray-<version>-Windows-x64.zip).
  2. Unpack: Extract the archive contents to a convenient folder, such as C:\Program Files\Nekoray or D:\Nekoray.
  3. Launch: Run the executable file nekoray.exe. The first launch may require permission for the Windows firewall.

Importing VLESS Reality Config into Nekoray

After launching Nekoray, you need to import your VLESS Reality server configuration:

  1. Copy URI: Copy the VLESS Reality URI you obtained from your VPS (e.g., from the Hiddify panel or after running the Xray-core script).
  2. Import into Nekoray: In Nekoray, go to the Server menu -> Add Profile from Clipboard. Nekoray will automatically recognize and import the configuration. If you have a QR code, select Scan QR code from screen.
  3. Verify and Edit: After importing, the configuration will appear in the server list. You can double-click it to check or edit parameters (e.g., change the name if it wasn't specified in the URI). Ensure the protocol type is set to VLESS and Reality parameters (fp, pbk, sni, sid) are correct.
  4. Connect: Select the imported server from the list and click the Connect or Start button. You will see a connection indicator (usually a green icon).

Proxy Modes: System Proxy and TUN Mode

Nekoray offers several operating modes, each suitable for different use cases:

  • System Proxy: This mode redirects traffic from applications configured to use the system proxy (SOCKS5 or HTTP). Most browsers and many applications automatically use system proxy settings. This is the simplest way to get started, but it doesn't intercept all traffic, such as traffic from games or some messengers that ignore system settings.
  • TUN Mode: This mode creates a virtual network adapter (TUN interface) and intercepts *all* network traffic from your system at a low level, routing it through the VPN. This provides full protection and anonymity for all applications, including those that do not support system proxy. For TUN mode to work, Nekoray requires the installation of a WinTun or sing-box TUN component, which is usually prompted when you first select this mode.

To activate TUN mode in Nekoray, go to Preferences -> Core Settings and select TUN Mode. Then, in the client's main window, select System Proxy and change it to TUN Mode. After this, restart the connection.

Configuring Bypass Rules and Exclusions

An important feature of Nekoray is the ability to create Bypass and Exclusion (Block/Direct) rules. This allows you to selectively route traffic through the VPN or directly, as well as block specific resources.

  1. Access Rules: Go to Preferences -> Routing Settings. Here you will see a list of rules.
  2. Bypass Local Resources: By default, Nekoray often includes rules to bypass local IP addresses (192.168.x.x, 10.x.x.x, 172.16.x.x), allowing you to access your local network even when the VPN is active. Ensure these rules are set to Direct.
  3. Torrent Settings: For torrents, it's generally recommended to use a direct connection (Direct) or a separate VPN tunnel, as their traffic can be very high-volume and cause increased load on your VPS, potentially leading to IP address blockages by your hosting provider. You can add a rule for a specific torrent client or a range of torrent tracker IP addresses to ensure they don't use the VPN. For example, you can add the domain *.torrenttracker.com and set its action to Direct.
  4. Custom Rules: You can add your own rules by specifying domains, IP addresses, or CIDR blocks, and assign them actions: Proxy (through VPN), Direct, or Block. For example, if you want a specific domain to always go through the VPN, add it with the Proxy action.

An example of a simple rule in the routing configuration (in the core config file, if editing manually) might look like this:

{
  "domain": ["geosite:cn", "geosite:private"],
  "type": "field",
  "outboundTag": "direct"
},
{
  "ip": ["geoip:cn", "geoip:private"],
  "type": "field",
  "outboundTag": "direct"
}

Nekoray provides a convenient graphical interface for managing these rules without needing to manually edit JSON.

Autostart and Background Operation

For ease of use, Nekoray can be configured to start automatically with Windows and run in the background.

  1. Autostart: In Nekoray, go to Preferences -> Settings. Check the Start on boot option.
  2. Start Minimized: It's also useful to check Start minimized to prevent Nekoray from opening its main window every time your system starts.
  3. Connect on Startup: To have Nekoray automatically connect to the selected server on startup, go to Preferences -> Core Settings and check the Auto connect after startup option.

These settings will allow you to maintain a continuously active VPN connection without manual intervention after your computer restarts.

rocket_launch Quick pick

Need a dedicated server?

Compare prices from top providers. Configure and order in minutes.

Browse dedicated servers arrow_forward

v2rayN VLESS Setup: An Alternative Windows Client

v2rayN is another popular vless windows client that offers similar functionality to Nekoray. It is also based on Xray-core (or v2ray-core) and features a simple yet effective interface. For those already familiar with v2rayN on other platforms (e.g., v2rayNG on Android, which we covered in the article Your own VPS + v2rayNG: VLESS Reality setup on Android in 10 minutes), transitioning to the Windows version will be intuitive.

Installing and Importing Config into v2rayN

  1. Download: Download the latest version of v2rayN from GitHub. Extract the archive to a convenient folder.
  2. Launch: Run v2rayN.exe.
  3. Import Config:
    • From Clipboard: Copy the VLESS Reality URI. In v2rayN, go to Servers -> Add VLESS server from clipboard.
    • By QR Code: Servers -> Scan QR code from screen.
  4. Connect: Select the imported server from the list and press Enter or right-click -> Set as active server. Then choose a proxy mode (e.g., System Proxy or TUN Mode) from the tray menu and click Enable Proxy.

Interface and Feature Comparison with Nekoray

Nekoray and v2rayN share many similarities, but also have differences:

Feature Nekoray (Nekobox) v2rayN Hiddify Desktop
Core Xray-core, Sing-box Xray-core, v2ray-core Sing-box, Xray-core
Interface Modern, intuitive, more visually appealing Functional, simple, but less modern Minimalist, subscription-oriented
Supported Protocols VLESS, VMess, Trojan, Hysteria2, NaiveProxy, Shadowsocks, SSH, WireGuard, etc. VLESS, VMess, Trojan, Shadowsocks, Socks5, HTTP, etc. VLESS Reality, VMess, Trojan, Hysteria2, XTLS, etc. (via subscription)
Proxy Modes System Proxy, TUN Mode (WinTun/Sing-box TUN) System Proxy, TUN Mode (v2rayN TUN) System Proxy, TUN Mode
Routing Rules Flexible, with graphical rule editor (geosite, geoip) Simple, with basic rule editor Automatic via subscription, manual rule addition
Autostart/Background Operation Yes, with extensive settings Yes, with basic settings Yes, with basic settings
Additional Features Built-in DNS server, ping test, speed test Ping test, subscription updates Automatic subscription updates, load balancing

Nekoray is often perceived as a more modern and feature-rich client due to its support for a wider range of protocols and a more user-friendly interface for configuring routing rules. However, v2rayN remains a reliable choice for basic VLESS Reality needs.

Nekobox Windows and Hiddify Desktop: Quick Overview and Comparison

Beyond Nekoray and v2rayN, other clients might be of interest for connecting to a VPS from Windows.

Hiddify Desktop Features for VLESS Reality

Hiddify Desktop is a client specifically designed to work with the Hiddify panel. Its main advantage is its ease of use, especially if your server is configured with Hiddify. You simply need to import the subscription link from your Hiddify panel, and the client will automatically download all necessary configurations, including VLESS Reality.

Key features of Hiddify Desktop:

  • Easy Import: A single subscription link is enough to get all settings.
  • Automatic Updates: The client automatically updates configurations if they change on the server.
  • Load Balancing: If you have multiple servers in your subscription, Hiddify Desktop can automatically select the best server.
  • Multi-Protocol Support: Supports all protocols offered by the Hiddify panel, including VLESS Reality, VMess, Trojan, Hysteria2, and others.

Hiddify Desktop is an excellent choice for users who value simplicity and integration with a server panel, but it may be less flexible for manual configuration than Nekoray or v2rayN.

Troubleshooting "Connected, but No Internet" with Your VLESS Windows Client

One of the most common issues users encounter after configuring their vless windows client is when the client shows "connected" but there's no internet access. Let's break down the main causes and how to resolve them.

Checking DNS Settings

DNS (Domain Name System) plays a critical role in internet functionality. If the DNS servers used by your client or system are unavailable or incorrectly configured, you won't be able to resolve domain names to IP addresses, and consequently, the internet won't work.

  1. Client DNS: Ensure that reliable and accessible DNS servers are used in the DNS settings section of Nekoray (or v2rayN). These are often Cloudflare DNS (1.1.1.1, 1.0.0.1) or Google DNS (8.8.8.8, 8.8.4.4). Some VLESS Reality configurations may include their own DNS server, which must be correctly set up on the VPS.
  2. System DNS: In some cases, especially when using System Proxy, the system might continue to use its local DNS servers. Try manually changing the DNS servers in your Windows network adapter settings to public ones (e.g., 1.1.1.1).
  3. DNS over HTTPS/TLS: If your client supports DoH/DoT, ensure it's configured correctly. This can enhance privacy but might also be a source of issues if the DoH/DoT server is unavailable.

Firewall and Antivirus: Potential Blockages

Firewalls (both Windows Firewall and third-party ones) and antivirus programs can block VPN client traffic or its virtual network adapter (TUN interface).

  1. Firewall Permissions: Ensure that Nekoray (nekoray.exe) or v2rayN (v2rayN.exe) and its components (e.g., Xray-core.exe) have full permissions in Windows Firewall. Upon first launch, the client usually requests these permissions, but they can sometimes be denied or altered.
  2. Third-Party Antivirus/Firewall: If you have a third-party antivirus or firewall installed, temporarily disable it and check the connection. If the internet appears, add Nekoray/v2rayN to your security software's exclusions or "whitelist".
  3. Check TUN Adapter: If using TUN mode, ensure that the virtual network adapter created by the client is not being blocked by the firewall.

Client and Server Logs: Finding Errors

Logs are your best friend when diagnosing problems. Both the client and the server record information about their operation, errors, and events.

  1. Client Logs: In Nekoray, you can find logs in the Log menu. Carefully examine them for error messages such as "connection refused", "timeout", "TLS handshake failed", etc. These messages often indicate issues with connecting to the server, incorrect Reality settings, or server-side blocking.
  2. Server Logs: If client logs point to server connection issues, the next step is to check the logs on your VPS. For Xray-core, logs are typically located at /var/log/xray/access.log and /var/log/xray/error.log. Look for errors related to incoming connections, SSL/TLS handshake, or Reality parameters. Ensure that the port specified in your VLESS Reality configuration is open on the VPS and not blocked by the server firewall (e.g., UFW or Firewalld).
  3. Ping and Traceroute: Use the commands ping <your_VPS_IP> and tracert <your_VPS_IP> from the Windows command prompt to check your VPS's availability and the route to it. If ping fails or traceroute breaks, the problem might be with the VPS's network accessibility or its firewall.
rocket_launch Quick pick

Need a dedicated server?

Compare prices from top providers. Configure and order in minutes.

Browse dedicated servers arrow_forward

Choosing the Optimal VPS for Your VLESS Reality Server

For up to 50 concurrent users, a VPS with 4 vCPU, 8 GB RAM, and an 80 GB NVMe disk is sufficient.

Users vCPU RAM Disk Port Approx. Price ($/month)
1-10 1-2 1-2 GB 20-40 GB NVMe/SSD 1 Gbps $5 - $10
10-25 2 2-4 GB 40-60 GB NVMe/SSD 1 Gbps $10 - $20
25-50 4 4-8 GB 60-80 GB NVMe/SSD 1 Gbps $20 - $40
50-100 4-6 8-16 GB 80-160 GB NVMe/SSD 1-10 Gbps $40 - $80
100+ 6-8+ 16-32+ GB 160+ GB NVMe 10 Gbps $80+

Choosing the right VPS for your VLESS Reality server is critical for ensuring stable performance and speed. While VLESS Reality itself is highly efficient, server resources still play a role, especially with a large number of concurrent connections or intensive traffic.

Key VPS Selection Parameters:

  • Processor (vCPU): For 1-25 users, 1-2 vCPU are sufficient. For 50+ users, 4 vCPU or more are recommended. High-frequency processors (2.5 GHz or higher) are preferable.
  • RAM: For a basic VLESS Reality server, 1-2 GB RAM is enough. If you plan to run the Hiddify panel or other services, consider 4 GB RAM or more.
  • Disk (Storage): NVMe disks significantly outperform SSDs and HDDs in I/O speed, which positively impacts overall server responsiveness. For most needs, 20-40 GB NVMe will be more than sufficient.
  • Network Port: Network port speed directly affects throughput. A minimum of 1 Gbps is recommended, and for a large number of users or streaming, 10 Gbps.
  • Location: Choose a VPS located geographically close to you or your users to minimize latency (ping).

At Valebyte.com, you'll find a wide selection of VPS plans optimized for various workloads, including servers with NVMe disks and high-speed ports, which are ideal for deploying VLESS Reality.

Frequently Asked Questions

Can I use VLESS Reality on Windows without installing third-party software?

No, using VLESS Reality on Windows requires installing a specialized client such as Nekoray, v2rayN, or Hiddify Desktop. These programs contain the necessary components (e.g., Xray-core or Sing-box) that implement the VLESS Reality protocol and manage network traffic. Without them, Windows will not be able to establish a connection with your VLESS Reality server. Client installation usually takes no more than 5 minutes and does not require deep technical knowledge if you already have a ready configuration URI.

What is the difference between System Proxy and TUN Mode in Nekoray?

System Proxy mode (system proxy) only redirects traffic that passes through Windows' system proxy settings. This is suitable for most browsers but not all applications. TUN Mode (TUN mode) creates a virtual network adapter, intercepting all network traffic from your system at a low level and routing it through the VPN. This provides full protection for all applications, including those that ignore system proxy settings. TUN mode requires the installation of an additional component, such as WinTun, which usually takes 1-2 minutes.

What should I do if Nekoray connects but there's no internet access?

If Nekoray connects but there's no internet, first check the DNS settings in the client and system (use 1.1.1.1 or 8.8.8.8). Ensure that Windows Firewall or your antivirus isn't blocking Nekoray or its components. Temporarily disable the antivirus and check. Also, examine Nekoray's logs (Log menu) and your VLESS Reality server's logs on the VPS (e.g., /var/log/xray/error.log) for errors. Check VPS accessibility using the command ping <your_VPS_IP>. These steps resolve up to 90% of connection issues.

Can I configure VLESS Reality on Windows to bypass only specific websites?

Yes, Nekoray and v2rayN allow you to configure flexible routing rules. You can specify domains or IP addresses that should go through the VPN (Proxy), directly (Direct), or be blocked (Block). This allows you, for example, to use the VPN only for blocked resources while maintaining direct access to local services or sites that don't require a VPN. Configuring such rules takes between 5 to 15 minutes, depending on their complexity and number.

Conclusion

Setting up your own VLESS Reality VPN on Windows using Nekoray, v2rayN, or Hiddify Desktop provides full control over your internet connection, ensuring high privacy and performance. Nekoray stands out for its flexibility and modern interface, while v2rayN offers reliability and simplicity, and Hiddify Desktop is ideal for Hiddify panel users. Choosing the right client and careful diagnosis using logs and DNS settings will help resolve most connection issues, guaranteeing stable and secure VPN operation. For optimal performance, choose a VPS with 4 vCPU, 8 GB RAM, and an NVMe disk, available from Valebyte.com.

Ready to choose a server?

VPS and dedicated servers in 72+ countries with instant activation and full root access.

Get started now →
support_agent
Valebyte Support
Usually replies within minutes
Hi there!
Send us a message and we'll reply as soon as possible.