How To Setup V2Ray Proxy Server With A VPS, Domain Name, Nginx, SSL Certificate, And Qv2ray Client

Channel:
Subscribers:
30,000
Published on ● Video Link: https://www.youtube.com/watch?v=V0YV0_n1-nI



Category:
Guide
Duration: 31:35
14,473 views
132


In this video, I will show you how to make a V2Ray proxy server with a virtual private server (VPS) or cloud server, domain name, NGINX web server, Certbot to get a Let's Encrypt SSL Certificate for HTTPS:// encryption. and Qv2ray client.

Get $200 in cloud credits from DigitalOcean using my referral link: https://digitalocean.pxf.io/c/1245219/1373759/15890

Get a discounted Namecheap .COM domain name: https://namecheap.pxf.io/c/1245219/408750/5618

How To Get $200 In Free DigitalOcean Cloud Credits https://youtu.be/9QE7zbyc6Ek

Bash script for installing V2Ray https://github.com/v2fly/fhs-install-v2ray

UUID Generator https://www.uuidgenerator.net/

Qv2ray Client https://github.com/Qv2ray/Qv2ray/releases

V2Ray Client Config Files https://github.com/v2fly/v2ray-core/releases/tag/v4.45.2

How To Install PuTTY on Windows https://youtu.be/0ptZPTTwRaE

How to use WinRAR on Windows PC - How to Extract or Unzip RAR and ZIP files https://youtu.be/bnM-WhO-ZPk

Steps To Setup A V2Ray Proxy Server:

1. Spin up a DigitalOcean droplet https://digitalocean.pxf.io/c/1245219/1373759/15890
2. Buy a Namecheap domain name https://namecheap.pxf.io/c/1245219/408750/5618
3. Point your Namecheap domain name to DigitalOcean's DNS
4. Copy and paste each command below and each V2Ray/Nginx server/client side configuration information.

Commands:

apt-get update

bash ⬅️(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

Note 1: Replace ⬅️ with the "less-than sign" on your keyboard or copy the command from https://github.com/v2fly/fhs-install-v2ray

systemctl enable v2ray
systemctl start v2ray
systemctl status v2ray
cd /usr/local/etc/v2ray
ls
nano config.json
cd
apt-get install nginx -y
apt-get install certbot python3-certbot-nginx
certbot --nginx
cd /etc/nginx/sites-available
ls
rm default
ls
nano default
cd
nginx -t
systemctl restart nginx
systemctl status nginx
systemctl restart v2ray
systemctl status v2ray

Note 2: Type the letter “q” on your keyboard if you see (END) and can't type the next command after checking the the status of v2ray or nginx.

V2Ray Server Side config.json (replace the UUID with yours):

{
"inbounds": [
{
"port": 10000,
"listen":"127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "0446e7c7-b95d-45f8-a813-8fd9426cbe4e",
"alterId": 0
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/v2ray"
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}


Nginx default file (replace bypass.domain.com with your domain name:

server {
listen 80;
server_name bypass.domain.com;
return 301 https://bypass.domain.com$request_uri;
}

server {
listen 443 ssl;
server_name bypass.domain.com;

ssl_certificate /etc/letsencrypt/live/bypass.domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/bypass.domain.com/privkey.pem;

include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

location / {
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
}

location /v2ray {
if ($http_upgrade != "websocket") {
return 404;
}
proxy_redirect off;
proxy_pass http://127.0.0.1:10000;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;

# Show real IP in v2ray access.log
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}


V2Ray Client Side Config (replace bypass.domain.com and UUID with your domain and UUID respectively):

{
"inbounds": [
{
"port": 1080,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"settings": {
"auth": "noauth",
"udp": false
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "bypass.domain.com",
"port": 443,
"users": [
{
"id": "0446e7c7-b95d-45f8-a813-8fd9426cbe4e",
"alterId": 0
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"wsSettings": {
"path": "/v2ray"
}
}
}
]
}


Timestamps:
0:00 Intro & Context
0:48 Setup VPS, Buy Domain, & Point DNS
9:16 Configure V2Ray Server Side
15:15 Configure NGINX & Get HTTPS
22:38 Configure V2Ray Client Side
29:58 Closing & Outro

NGINX https://www.nginx.com/
Project V (V2Ray) https://www.v2ray.com/en/index.html
Project V (V2Fly) https://www.v2fly.org/en_US/
Certbot https://certbot.eff.org/
Let’s Encrypt https://letsencrypt.org/

#V2Ray #VMESS #Proxy




Other Videos By Websplaining


2023-04-10How To Enable And Open Developer Console (~) On Counter-Strike: Global Offensive
2023-04-07How To Join The Waitlist For Bard - Google's Generative AI
2023-04-07How to Route Domain Names to DigitalOcean's Custom DNS - Add A Type DNS Record with a WWW. Hostname
2023-04-03NOOB FRIENDLY: Create Your First Cloud Server Or Virtual Private Server (VPS)
2023-03-31How To Fix Matchmaking Failed VAC was unable to verify your game session
2023-03-30How To Find Your Forgotten Wi-Fi Password For A Network You Automatically Connect To On Windows 11
2023-03-29How To Buy Your First Domain Name - Register Cheap Domains With Namecheap
2023-03-22How To Reverse Image Search Using Google Lens And Google Images
2023-03-18How To Do A Google Reverse Image Search On Mobile Devices
2023-03-18How To Cloak Images With Fawkes
2023-03-06How To Setup V2Ray Proxy Server With A VPS, Domain Name, Nginx, SSL Certificate, And Qv2ray Client
2023-02-13How To Clear Or Delete PuTTY's Cached SSH Host Keys In Windows 11 Registry Editor
2023-02-10How To Download Your Netlify Websites Files
2023-02-08How To Join The Waitlist For Microsoft Bing's New AI Powered Answer Engine
2023-02-04How To Depixelate And Deblur Face Photos With AI For Free
2023-02-02How To Sign Up And Use Proton Drive For FREE
2023-01-28How To Sign Up And Use Proton Calendar For FREE
2023-01-22How To Sign Up And Use Proton Mail For FREE
2023-01-19How To Migrate To Protons Ecosystem With Proton Easy Switch From Google, Yahoo, Outlook Or Other
2023-01-17How To Convert PDF To JPG, PNG Or TIFF Image File Formats Online For FREE
2023-01-15How To Sign A PDF File For FREE - How To Add A Signature To PDF Forms For FREE



Tags:
How To Setup V2Ray Proxy Server With A VPS Domain Name Nginx SSL Certificate And Qv2ray Client
How To Make A V2Ray Proxy Server
Proxy
Proxy Server
V2Ray
NGINX
Qv2ray
DigitalOcean
VPS
Virtual Private Server
Cloud Server
Certbot
Qv2ray Client
SSL Certificate
HTTPS://
Let’s Encrypt
Project V
V2Fly
fhs-install-v2ray
v2fly/v2ray-core
V2Ray Proxy
Namecheap
Domain Name
Web Server
UUID Generator
VMESS
tls
ws
freedom
Domain
Ubuntu
22.04 (LTS) x64
Bypass Network Restrictions