How to Set Up V2RaySSR on Your VPS – A Complete Guide

If you’re looking for a powerful, secure, and flexible proxy solution, V2RaySSR might be just what you need. It’s a custom fork of V2Ray that includes support for ShadowsocksR (SSR), allowing for more advanced configurations and better censorship resistance.

In this post, we’ll walk you through how to set up V2RaySSR on your Hosteons VPS step by step.


🔍 What is V2RaySSR?

V2RaySSR combines the flexibility of V2Ray with the popular ShadowsocksR protocol, offering:

• Support for multiple protocols (VMess, VLESS, SSR, SOCKS, etc.)

• Strong encryption

• Obfuscation methods like WebSocket, TLS, mKCP, and more

• Reliable bypassing of network restrictions

It’s a go-to tool for developers, privacy-conscious users, and tech enthusiasts who want full control over their internet traffic.


✅ What You’ll Need

Before getting started, make sure you have:

• A Hosteons VPS (Ubuntu/Debian/CentOS preferred)

• Root SSH access

• A domain name (optional but recommended for TLS/HTTPS)

• Basic familiarity with SSH


🔧 Step 1: Connect to Your VPS

Open your terminal or SSH client and log in to your VPS:

ssh root@your_vps_ip

Replace your_vps_ip with the actual IP of your server.


📦 Step 2: Download & Run the V2RaySSR Script

Use the following command to install V2RaySSR via a trusted script:

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

This script will guide you through setup options like:

• Choosing the protocol (VMess, VLESS, SSR, etc.)

• Selecting ports

• Enabling TLS (for secure encrypted connections)

• WebSocket and fallback options

Take note of the configuration it generates — you’ll need it later for your client app.


🧱 Step 3: Open Required Ports

Depending on your server’s OS and firewall settings, you might need to manually open the necessary ports.

For Ubuntu/Debian with UFW:

ufw allow 443/tcp
ufw allow 443/udp

For CentOS with firewalld:

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

📲 Step 4: Set Up Your V2RaySSR Client

Once the server is running, install a client on your device:

• WindowsV2RayN

• Androidv2rayNG

• iOS: Shadowrocket (App Store)

Input the configuration details (UUID, address, port, path, protocol, TLS settings, etc.) provided by the script.


🚀 Step 5: Test Your Setup

After everything is configured:

• Open your V2Ray client and connect

• Visit https://ipinfo.io or https://whatismyipaddress.com to confirm your traffic is routing through the VPS

• Check logs in the client app for errors or connection status


🛡️ Pro Tips

• Use a custom domain with Let’s Encrypt TLS for added security

• Change your UUID regularly to maintain privacy

• Keep your script and configuration up to date

• Monitor usage to ensure smooth operation and avoid abuse


Start building your own secure proxy with V2RaySSR — all powered by a Hosteons VPS.

How to Install and Set Up V2Ray or ShadowsocksR (SSR) on Your VPS

V2Ray and ShadowsocksR (SSR) are popular tools for bypassing internet restrictions and enhancing online privacy. With Hosteons’ VPS, you can easily set up your own private proxy server using V2Ray or SSR. This tutorial will guide you through the installation and configuration process step by step.

Prerequisites

Before you begin, ensure you have:

  1. A VPS: Hosteons provides reliable VPS solutions with root access.
  2. Linux OS: Ubuntu 20.04 or Debian 11 are recommended.
  3. Root Access: Administrative privileges on your VPS.

Step 1: Update Your VPS

Start by updating your system to ensure all packages are up to date:

sudo apt update && sudo apt upgrade -y

Step 2: Install V2Ray

  1. Download the official V2Ray installation script:
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
  1. Start and enable V2Ray:
sudo systemctl start v2ray
sudo systemctl enable v2ray
  1. Confirm that V2Ray is running:
sudo systemctl status v2ray

Step 3: Configure V2Ray

  1. Open the V2Ray configuration file:
sudo nano /usr/local/etc/v2ray/config.json
  1. Add the following basic configuration:
{
  "inbounds": [
    {
      "port": 1080,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "YOUR_UUID",
            "alterId": 64
          }
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}
  • Replace YOUR_UUID with a unique UUID. Generate one using:
uuidgen
  1. Save and exit the file.
  2. Restart V2Ray to apply the changes:
sudo systemctl restart v2ray

Step 4: Install ShadowsocksR (SSR)

If you prefer SSR over V2Ray, follow these steps:

  1. Clone the SSR repository:
git clone https://github.com/shadowsocksrr/shadowsocksr.git
  1. Navigate to the SSR directory:
cd shadowsocksr
  1. Run the setup script:
bash setup_cymysql.sh
  1. Configure SSR by editing the configuration file:
nano user-config.json

Add the following settings:

{
  "server": "0.0.0.0",
  "server_port": 8388,
  "password": "YOUR_PASSWORD",
  "method": "aes-256-cfb",
  "protocol": "auth_sha1_v4",
  "obfs": "tls1.2_ticket_auth",
  "timeout": 300
}
  • Replace YOUR_PASSWORD with a strong password.
  1. Start the SSR server:
bash run.sh

Step 5: Open Firewall Ports

Allow traffic on the necessary ports for your proxy server:

sudo ufw allow 1080/tcp
sudo ufw allow 8388/tcp
sudo ufw enable

Step 6: Test Your Proxy Server

  1. Download and install a V2Ray or SSR client on your device.
  2. Configure the client with the server details, including IP address, port, and UUID or password.
  3. Connect to the proxy server and verify your connection.

Conclusion

Setting up V2Ray or ShadowsocksR on a VPS from Hosteons enhances your online privacy and allows you to bypass internet restrictions. With this guide, you can deploy your own secure and private proxy server in minutes. If you encounter any issues, Hosteons’ support team is available to assist you.