悟了

悟了

悟了 污了 误了 吴乐 无了
twitter

Deploying Hysteria 2 Instances on VPS

Deploying Hysteria 2 Instances on VPS#

Installing Hysteria 2 on VPS#

Install Hysteria 2 using the method provided by the official website.

Install or upgrade to the latest version:

bash <(curl -fsSL https://get.hy2.sh/)

Modify /etc/hysteria/config.yaml with the following configuration:

# listen: :443

acme:
  domains:
    - example.com
  email: [email protected]

auth:
  type: password
  password: vgfdsgdsafwer43243243

masquerade:
  type: proxy
  proxy:
    url: https://news.ycombinator.com/
    rewriteHost: true

Restart hysteria

systemctl restart hysteria-server.service

Usage of Windows Client#

Download the hysteria Windows client from https://github.com/apernet/hysteria/releases/download/app%2Fv2.1.0/hysteria-windows-amd64-avx.exe

Download links within China:

Create a new configuration file config.yaml with the following content:

server: exapmle.com:443
auth: vgfdsgdsafwer43243243

bandwidth:
  up: 50 mbps
  down: 200 mbps

socks5:              
  listen: 127.0.0.1:10808    
http:
  listen: 127.0.0.1:10809

Run the client

hysteria-windows-amd64-avx.exe -c config.yaml
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.