Windows Setup Guide
Setting up CompassVPN on Windows
This guide will help you set up CompassVPN on your Windows device using v2rayN, a popular client application for the V2Ray/Xray protocol.
Prerequisites
Before you begin, you’ll need:
- A configuration link or QR code from your CompassVPN server
- A Windows PC running Windows 7 or later
- The .NET 8 Desktop Runtime installed (unless you download the SelfContained version below). (Download the appropriate installer for your Windows architecture - x64, x86, or Arm64 - under the “.NET Desktop Runtime” section on the linked page).
Step 1: Install v2rayN
- Download the latest release of v2rayN from the official GitHub repository
- Under the Assets section, download the appropriate
.zip
file for your system:- For most 64-bit Windows PCs: Choose
v2rayN-windows-64.zip
. This requires the .NET 8 Desktop Runtime listed above. - Easier Option (Larger File): Choose
v2rayN-windows-64-SelfContained.zip
. This includes the .NET runtime and does not require a separate installation. - For Windows on ARM64 devices: Choose the corresponding
arm64
version (v2rayN-windows-arm64.zip
or the self-containedarm64
variant if available).
- For most 64-bit Windows PCs: Choose
- Extract the ZIP file to a location on your computer (e.g.,
C:\v2rayN
) - Navigate to the extracted folder and run
v2rayN.exe
- You may see a Windows security alert - make sure to allow access for v2rayN.
- Note: On first run, v2rayN might prompt you to download the required V2Ray/Xray core if it wasn’t included. Allow it to do so.
Step 2: Import Configuration
- Copy the configuration link provided by your CompassVPN server.
- In v2rayN, you can either:
- Press
Ctrl+V
on your keyboard while the v2rayN window is active. - Or, click on the
Server
menu and selectImport bulk URL from clipboard
(or similar wording depending on the version).
- Press
- The app should automatically detect and import the configuration from your clipboard.
Step 3: Connect to CompassVPN
- After importing, you’ll see the server configuration in the list.
- Right-click on the configuration and select
Set as active server
. - Click on the v2rayN tray icon (usually a blue ‘V’) in the system tray (bottom right of your screen).
- Select a
System Proxy
mode to route traffic through the VPN. The two main options are:Global Mode
: Routes all your internet traffic through the VPN.Whitelist Mode
: Uses pre-configured routing rules (often suitable for users in China) to send specific traffic (e.g., international sites) through the VPN, while allowing other traffic (e.g., domestic sites) to connect directly (bypass the VPN). You can customize these rules further (see below).
- A checkmark next to the selected proxy mode indicates that the connection routing is active.
Step 4: Test Your Connection
- Once connected, open your web browser.
- Visit browserleaks.com/ipp .
- Verify that your IP address has changed to the VPN server’s IP.
Advanced Features
System Proxy
v2rayN can configure your system proxy settings automatically:
- Right-click on the v2rayN icon in the system tray.
- Under
System Proxy
, select one of the following options:Not Set
: v2rayN doesn’t change system proxy settings.Whitelist Mode
: Selectively routes traffic based on rules (configured underSettings
->Routing Setting
). v2rayN often includes pre-made rules optimized for common scenarios (like users in China needing to access international sites via VPN while keeping domestic traffic direct). This allows you to bypass the VPN for specific domains or IP addresses. You can customize these rules to fit your specific needs (see below).Global Mode
: Routes all internet traffic from applications using the system proxy through the VPN.
Routing Rules
This section (Settings
-> Routing Setting
) is where you customize how traffic is handled, especially when using Whitelist Mode. You can create rules based on domains, IP addresses, or even applications to specify whether traffic should:
Direct
: Bypass the VPN and connect directly.Proxy
: Go through the active VPN server.Block
: Be blocked entirely.
This allows for fine-grained control over your connection routing.
Auto Startup
To make v2rayN start automatically when Windows starts:
- In the main window, click on the
Setting
menu - Select
Basic Setting
- Check the box next to
Start with Windows
Recommended Settings
For optimal performance and compatibility, consider applying the following settings within v2rayN:
1. Core: Basic Settings (Settings
-> Core: Basic settings...
)
- UDP: Check
Enable UDP
. - Sniffing Type: Set to
http, tls, quic
. - Default TLS Fingerprint: Set to
chrome
. - User-Agent: Set to
chrome
.
2. v2rayN Settings (Settings
-> v2rayN settings...
)
- Look for an option like
Enable Hardware Acceleration
(if available) and check it.
3. DNS Settings (Settings
-> DNS settings...
)
- v2ray DNS Settings: Replace the existing content with the following JSON code:
{ "servers": [ "1.1.1.2" ] }
- Other DNS Options:
- Check
Use system Hosts
. - Set
Outbound DNS Address
tolocalhost
.
- Check
Security Best Practices
- Keep your device updated: Ensure Windows has the latest security updates
- Regular updates: Keep v2rayN and cores updated to the latest version (click Check Update on the application)
- Firewall configuration: Ensure Windows Firewall allows v2rayN to access the network