悟了

悟了

悟了 污了 误了 吴乐 无了
twitter

VPSデプロイHysteria 2インスタンス

VPS デプロイ Hysteria 2 インスタンス#

VPS に Hysteria 2 をインストールする#

公式の提供する方法を使用して Hysteria 2 をインストールします。

最新バージョンにインストールまたはアップグレードするには:

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

/etc/hysteria/config.yamlを次のように変更します:

# 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

hysteriaを再起動します。

systemctl restart hysteria-server.service

Windows クライアントの使用方法#

hysteria Windows クライアントをダウンロードする https://github.com/apernet/hysteria/releases/download/app%2Fv2.1.0/hysteria-windows-amd64-avx.exe

国内のダウンロードリンク

新しい設定ファイルconfig.yamlを作成し、以下の内容を記述します:

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

クライアントを実行します。

hysteria-windows-amd64-avx.exe -c config.yaml
読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。