Shadowsocks: A previously mentioned protocol that provides a secure proxy based on SOCKS5.A pair of inbound and outbound proxies can be used via V2Ray to build a proxy for a telegram server. MT Proto: Used for Telegram, a privacy-focused chat app.HTTP: A very common inbound protocol for distributed information systems.Typically used in instances where you want to sent traffic to its true destination. Freedom: Passes all outbound TCP and UDP connections to their intended destinations.Dockodemo-door: Dockodemo-door passes inbound connections to a specified destination, and as such can be used as a transparent proxy.Despite V2Ray's functionality as an anti-censorship tool, this can be used with routing to block access to certain websites where necessary. Blackhole: A protocol for outbound connections that blocks all connections with pre-defined responses.However, there's also the following to consider: As mentioned previously, VMess is chief among them, providing an inbound and output proxy for use in encrypted communications. Unlike Shadowsocks, V2ray supports numerous protocols, both inbound and outbound. You can then type service v2ray start to start v2ray. With installation complete, you can edit /etc/init.d/v2ray via:Ĭhange the config files to suit your preferences, using the configuration section of the official wiki for guidance and read our protocol explanation below. On successful install, it will display the configuration options you chose, followed my the commands to get your vray url and qr code, like so:
V2Ray will take a little while to download and install everything, placing the following config files to run it as a service: Again, this depends on your use-case, but we're going to enter N for no.įinally, press Enter to confirm the installation. You can now choose whether to install Shadowsocks. For a more barebones experience, we're going to enter N. This is a personal choice, but do note that it can affect performance. The next step is asking whether you'd like to install an ad blocker. Type your port or leave it as the default by just pressing Enter. V2Ray will now pose the following question: 请输入 V2Ray 端口 We'll have a short explanation of protocol options below, but for now, just choose TCP for simplicity by pressing 1 and then Enter. There aren't any major differences between 1 and 2, so just type 1 and press Enter.
You'll first be asked the version of V2Ray you wish to install. Domain data file: /usr/bin/v2ray/geosite.dat.
First, perform upgrades and updates to your VPS: sudo apt-get update Though its configuration can be complex, V2Ray's setup on Linux is very easy thanks to a one-command script by. Though this makes V2Ray more complicated than single proxy protocols like Shadowsocks, it means it can be used for more niche configurations and scenarios. When deploying V2Ray, you can dynamically change port, access advanced routing features, use obfuscation techniques, chain proxies, and more. V2Ray and its VMess protocol were designed to improve on the performance and features of Shadowsocks and aid in detection prevention.
It draws some parallels to proxy software Shadowsocks, but is intended more of a platform, with any developers able to use the provided modules to develop new proxy software. V2Ray is the sub-section of Project V that's responsible for network protocols and communication.
Today, we're going to explain the basics of V2Ray and its components, as well as how to install it. Through the use of V2Ray and its protocols, users in heavily monitored countries like China can access content that would otherwise be blocked. Though V2Ray can be used for various purposes, its primary mission is to combat internet censorship. The tool forms a core part of Project V, an effort to provide users with the software to deploy specific network environments privately. If you're a privacy enthusiast, you may or may not have heard of V2Ray. Sign up for BitLaunch today and get started with V2Ray and VMess on Linux.