V2Ray is the core of Project V which is a set of tools to help someone build their own privacy network over internet.
Here are some Features:
- Multiple inbound/outbound proxies: one V2Ray instance supports in parallel multiple inbound and outbound protocols. Each protocol works independently.
- Customizable routing: incoming traffic can be sent to different outbounds based on routing configuration. It is easy to route traffic by target region or domain.
- Multiple protocols: V2Ray supports multiple protocols, including Socks, HTTP, Shadowsocks, VMess etc. Each protocol may have its own transport, such as TCP, mKCP, WebSocket etc.
- Obfuscation: V2Ray has built in obfuscation to hide traffic in TLS, and can run in parallel with web servers.
- Multiple platforms: V2Ray runs natively on Windows, Mac OS, Linux, etc. There is also third party support on mobile.
- ssh tool or panel
Note: If you have no vps or have no idea about vps, Maybe you could try Virtono which is a cheaper web hosting solutions company and can pay for by AliPay. I think it will give you a best service for newer. Click here to Buy one vps.
- First step, you need to login your vps’s terminal by ssh-tool or ssh-panel which is offen offered by web hosts. Such like the following:
- Be sure that the login user is
root, then input the command in terminal:
bash <(curl -s -L https://git.io/v2ray.sh)
Note: If you get the error info:
curl: command not found, you need to input
apt-get update && apt-get install curl -y firstly.
- Configure the V2ray, you can see this papper V2Ray一键安装脚本, it will help your more details to config v2ray.
First step, the V2Ray is available on the Windows, Mac OS X 10.10 or later, Linux…
Such as me, my pc is Ubuntu18.04, Luckly, the V2Ray team provides a script to install on Linux. So open the terminal:
curl -Ls https://install.direct/go.sh | sudo bash
The script installs the following files.
- /usr/bin/v2ray/v2ray: V2Ray executable
- /usr/bin/v2ray/v2ctl: Utility
- /etc/v2ray/config.json: Config file
- /usr/bin/v2ray/geoip.dat: IP data file
- /usr/bin/v2ray/geosite.dat: domain data file
- After installation, you will need to:
/etc/v2ray/config.jsonfile for scenario.
- Check the config file by runing
/usr/bin/v2ray/v2ray -test -config=/etc/v2ray/config.json.
service v2ray startto start V2Ray.
- Optionally run
service v2ray start|stop|status|reload|restart|force-reloadto control V2Ray service.