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