How to Set Up V2RaySSR on Your VPS Print

  • v2rayssr, tutorial
  • 0

 

 How to Set Up V2RaySSR on Your VPS

 

V2RaySSR is a powerful fork of V2Ray that supports ShadowsocksR (SSR) protocols. It provides enhanced flexibility and better censorship resistance. Here’s how to get it running on your Hosteons VPS.

 


 

✅ Requirements

• A Hosteons VPS (preferably with Ubuntu/Debian/CentOS)

• Root access to your server

• Basic SSH knowledge

• A domain (optional but recommended for TLS)

 


 

⚙️  Step 1: Connect to Your VPS

 

Use an SSH client like Terminal (macOS/Linux) or PuTTY (Windows):

ssh root@your_vps_ip

 

 


 

⚙️  Step 2: Download V2RaySSR Installation Script

 

Run the following to download the official script:

bash <(curl -Ls https://raw.githubusercontent.com/johnrosen1/vpstoolbox/master/v2ray.sh)

Alternatively, you can use a trusted fork with auto-install options, such as:

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/V2raySSRR/master/v2ray.sh && bash v2ray.sh

 

 


 

⚙️ Step 3: Configure V2RaySSR

 

During installation, the script will ask you to choose:

Protocol: Select vmess, vless, or ssr depending on your needs.

Port: Default is usually 443 for TLS.

TLS: Choose whether to enable TLS (recommended for obfuscation).

Additional options: You may also configure fallback, websocket, or mKCP.

 

Make sure you take note of the generated config, as you’ll need it for the client.

 


 

⚙️  Step 4: Open Required Ports (if firewall is enabled)

ufw allow 443/tcp
ufw allow 443/udp

Or for CentOS:

firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --permanent --add-port=443/udp
firewall-cmd --reload

 

 


 

⚙️ Step 5: Configure Your V2RaySSR Client

 

Download v2rayNG (Android) or V2RayN (Windows) or Shadowrocket (iOS).

Input the details provided during the server install (UUID, address, port, protocol, path, TLS, etc.)

 


 

✅ Step 6: Test Your Connection

 

Launch your client and try browsing. You can verify it’s working via:

• IP check websites like https://ipinfo.io

• V2RayN logs (Windows) or connection status (mobile apps)

 


 

⚙️ Tips

• For better security, use a domain name with TLS via Let’s Encrypt.

• Rotate UUIDs periodically to enhance privacy.

• Monitor VPS usage and logs to avoid abuse or misconfigurations.

 


Was this answer helpful?

« Back