diff --git a/frontend/src/components/protocols/Hysteria2.vue b/frontend/src/components/protocols/Hysteria2.vue
index 1f22031..1e8f7d1 100644
--- a/frontend/src/components/protocols/Hysteria2.vue
+++ b/frontend/src/components/protocols/Hysteria2.vue
@@ -1,29 +1,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -63,12 +127,19 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -78,22 +149,44 @@
\ No newline at end of file
diff --git a/frontend/src/types/inbounds.ts b/frontend/src/types/inbounds.ts
index 13c529a..c6d185f 100644
--- a/frontend/src/types/inbounds.ts
+++ b/frontend/src/types/inbounds.ts
@@ -165,7 +165,15 @@ export interface Hysteria2 extends InboundBasics {
}
users: NamePass[]
ignore_client_bandwidth?: boolean
- masquerade?: string
+ masquerade?: string | {
+ type: string
+ directory?: string
+ url?: string
+ rewrite_host?: string
+ status_code?: number
+ headers?: Headers[]
+ content?: string
+ }
brutal_debug?: boolean
}
export interface Tun extends InboundBasics {
diff --git a/frontend/src/types/outbounds.ts b/frontend/src/types/outbounds.ts
index b8646ba..f4aa274 100644
--- a/frontend/src/types/outbounds.ts
+++ b/frontend/src/types/outbounds.ts
@@ -168,6 +168,8 @@ export interface TUIC extends OutboundBasics, Dial {
export interface Hysteria2 extends OutboundBasics, Dial {
server: string
server_port: number
+ server_ports?: string[]
+ hop_interval: string
up_mbps?: number
down_mbps?: number
obfs?: {