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)
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
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
- From the 3x-ui web control panel, select
Inboundsmenu on the left panel and click on the[+Add Inbound]button in the main panel. - On the
Basictab, give a name for the inbound in theRemarkfield. - Change the
Protocolfield from default vless to hysteria. - Leave the all the other field the default, including random
Portnumber. 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. - Click on the
Securitytab and click the `[Set Cert from Panel] button. It should pull the private and private key files from 3x-ui setup. - Finally, click on the
[Create]button on the bottom.
Create a Client for Hysteria2/Vless Inbound
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.
- From the 3x-ui web control panel, select
Clientsmenu on the left panel and click on the `[+Add Client] button in the main panel. - In the
Basictab, under Attached Inbounds, either click on the[Select all]or manually select the inbound(s) from the drop down list.
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
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.
XHTTP is a new transport protocol that has add to replace
Creating a Vless Inbound with Cloudflare CDN
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.
- From the 3x-ui web control panel, select
Inboundsmenu on the left panel and click on the[+Add Inbound]button. - On the
Basictab, give a name for the inbound in theRemarkfield. - Leave the
Protocolfield on the default vless. - You can leave
Portfield blank and it will select a random port or enter 443 to make the proxy traffic look like regular secure web traffic. - Leave the rest of fields default on their settings and click on the
Streamtab and select XHTTP for theTransportsetting. - I'm just