Notes

Part 2, the noob guide on 3x-ui setup for Vless/Hysteria2 proxy services without CDN

Incomplete(I haven't finish writing this guide yet)

Note

Continuing from my previous 3x-ui installation guide.

Creating Vless and Hysteria2 Proxy Inbounds and Clients with 3x-ui


This guides will only show two of proxy protocols that 3x-ui supports, vless and hysteria. For me, these two shows the best results in getting through China's GFW. These setups might not work in Russia as their DPI(deep packet inspections) is stricter than China and definitely not in Iran as they have switch from blacklist to whitelist, only IP addresses approve by the government will pass through.

I will first start with Hysteria2, as it's easy to setup with 3x-ui and I found it has the faster transfer rate compare to any of the Vless inbound setup.

Optional: RealityScanner for SNI

Although it's

Creating Hysteria2 Inbound and Client

Important

Hysteria2 does not work with Cloudflare CDN, it has it's own way of masking it's traffic without the need for a CDN. You must also have a SSL cert generated from the previous guide.

Create a Hysteria2 Inbound

  1. From the 3x-ui web control panel, select Inbounds menu on the left panel and click on the [+Add Inbound] button in the main panel.
  2. On the Basic tab, give a name for the inbound in the Remark field.
  3. Change the Protocol field from default vless to hysteria.
  4. Leave the all the other field the default, including random Port number. Change to 443, only if you're planning not to create Vless inbound on the same as server. As it's more important for vless to use port 443.
  5. Click on the Security tab and click the `[Set Cert from Panel] button. It should pull the private and private key files from 3x-ui setup.
  6. Finally, click on the [Create] button on the bottom.

Create a Client for Hysteria2/Vless Inbound

Note

Starting version 3.x.x, creating a client has been split into it's own seperate instead of a sub-menu of the Inbound menu.

  1. From the 3x-ui web control panel, select Clients menu on the left panel and click on the `[+Add Client] button in the main panel.
  2. In the Basic tab, under Attached Inbounds, either click on the [Select all] or manually select the inbound(s) from the drop down list.
Note

You don't have to keep creating new client for each new inbound you create. You can use a single client for multiple inbounds, if you only one using those inbounds.

**skip the export setting for client on mobile phone and desktop, if you're not planning to create a Vless Inbound.

Creating Vless Inbound without using Cloudflare CDN

Warning

Xray, which includes vless and other proxy protocol/transport/security, is being actively being updated. So new feature like XHTTP transport protocol has been add replacing the use of the old websocket or just raw transport. So thse Vless setups are only from my personal experience using on ChinaNet(China Telecom) and China Mobile, going through the GFW of China, and connecting to VPSs in the US. There are older guide on use Reality with xtls-rprx-vision, but I'm using Reality with the newer XHTTP.

Create a Vless/XHTTP/Reality Inbound.

Note

XHTTP is a new transport protocol that has add to replace

Creating a Vless Inbound with Cloudflare CDN

Note

You must use Cloudflare DNS servers for your domain to use their CDN. You don't need to pay for Cloudflare account nor register you domain with them. Just create a free account, go to Domains->Overview menu and [Add Domain]->`[Connect a domain] buttons.

  1. From the 3x-ui web control panel, select Inbounds menu on the left panel and click on the [+Add Inbound] button.
  2. On the Basic tab, give a name for the inbound in the Remark field.
  3. Leave the Protocol field on the default vless.
  4. You can leave Port field blank and it will select a random port or enter 443 to make the proxy traffic look like regular secure web traffic.
  5. Leave the rest of fields default on their settings and click on the Stream tab and select XHTTP for the Transportsetting.
  6. I'm just