Skip to content

Commit 6be6805

Browse files
authored
Update README.md
1 parent 5337c47 commit 6be6805

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
### Install command :
44
```
5-
bash <(curl https://raw.githubusercontent.com/H-Return/Hysteria2/main/install.sh)
6-
```
7-
### Check Traffic Status:
8-
```
9-
bash <(curl https://raw.githubusercontent.com/H-Return/Hysteria2/main/Traffic.sh)
5+
bash <(curl https://raw.githubusercontent.com/H-Return/Hysteria2/main/menu.sh)
106
```
117

128
<details>
139
<summary><b>How to manual Installation ?</b></summary>
14-
10+
11+
# Manual Installation
12+
1513
Make dir and wget the latest version of Hysteria 2 compatible with your server.
1614

1715
`mkdir hysteria`
@@ -24,7 +22,7 @@ Command to change kernel permissions:
2422

2523
`chmod 755 hysteria-linux-amd64`
2624

27-
# SSL
25+
### SSL
2826
Commands to generate and sign a certificate:
2927

3028
`openssl ecparam -genkey -name prime256v1 -out ca.key`
@@ -39,7 +37,7 @@ example result:
3937

4038
`sha256 Fingerprint=6F:CX:9A:FE:32:2B:J9:8V:.............`
4139

42-
# sha256-key
40+
### sha256-key
4341
```python
4442
import re
4543
import base64
@@ -67,7 +65,7 @@ And run the file with the command:
6765
example result : `sha256/CMn3/tZqjIRUnclf0mFi/bOq7radMYjrOqLxlxqfXFN0=`
6866

6967
Now use the sha256-key in the config file (pinSHA256).
70-
# Config
68+
### Config
7169
Downloading the `config.yaml` file using wget on the server
7270

7371
`wget https://raw.githubusercontent.com/H-Return/Hysteria2/main/config.yaml`
@@ -87,7 +85,7 @@ Fill in the following values carefully in the config.yaml file:
8785
- `$authpassword` : Use this [website](https://www.avast.com/random-password-generator) to generate a password
8886

8987
- `$UUID` To generate a UUID for the trafficStats section, use this [website](https://www.uuidgenerator.net/)
90-
# System file
88+
### System file
9189
Building a Systemd Service File:
9290

9391
`nano /etc/systemd/system/Hysteria.service`
@@ -120,7 +118,7 @@ Install and enable the service:
120118

121119
`sudo systemctl start hysteria.service`
122120

123-
# URI Scheme
121+
### URI Scheme
124122

125123
`hy2://authpassword@IP:Port?obfs=salamander&obfs-password=obfspassword&pinSHA256=sha256-key&insecure=1&sni=bing.com#Hysteria2`
126124

@@ -132,4 +130,9 @@ Import values from the config.yaml file:
132130
- `$port`
133131
- `$obfspassword`
134132
- `$sha256`
133+
134+
# Check Traffic Status:
135+
```
136+
bash <(curl https://raw.githubusercontent.com/H-Return/Hysteria2/main/Traffic.sh)
137+
```
135138
</details>

0 commit comments

Comments
 (0)