From b75c153b77554a427692fda0d3f697ca47987ef3 Mon Sep 17 00:00:00 2001 From: Return <151555003+H-Return@users.noreply.github.com> Date: Tue, 21 May 2024 21:15:22 +0330 Subject: [PATCH] Create config.yaml --- config.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 config.yaml diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..5d7b9e5 --- /dev/null +++ b/config.yaml @@ -0,0 +1,48 @@ +listen: :port +tls: + cert: /root/hysteria/ca.crt + key: /root/hysteria/ca.key + insecure: true + pinSHA256: "sha256-key" +obfs: + type: salamander + salamander: + password: obfspassword #Use a strong password. +auth: + type: password + password: authpassword #Use a strong password. +quic: + initStreamReceiveWindow: 8388608 + maxStreamReceiveWindow: 8388608 + initConnReceiveWindow: 20971520 + maxConnReceiveWindow: 20971520 + maxIdleTimeout: 60s + maxIncomingStreams: 60 + disablePathMTUDiscovery: false +bandwidth: + up: 1 gbps + down: 1 gbps +ignoreClientBandwidth: false +disableUDP: false +udpIdleTimeout: 60s +resolver: + type: tls + tcp: + addr: 8.8.8.8:53 + timeout: 4s + udp: + addr: 8.8.4.4:53 + timeout: 4s + tls: + addr: 1.1.1.1:853 + timeout: 10s + sni: cloudflare-dns.com + insecure: false + https: + addr: 1.1.1.1:443 + timeout: 10s + sni: cloudflare-dns.com + insecure: false +trafficStats: + listen: 127.0.0.1:25413 + secret: UUID #It is recommended to generate a UUID.