update readme

This commit is contained in:
xvzc 2024-07-21 17:21:56 +09:00
parent 97e6cd6355
commit b536597063
4 changed files with 84 additions and 52 deletions

View File

@ -50,19 +50,27 @@ You can also build your own
# Usage # Usage
``` ```
Usage: spoof-dpi [options...] Usage: spoof-dpi [options...]
--addr=<addr> | default: 127.0.0.1 -addr string
--dns=<addr> | default: 8.8.8.8 Listen addr (default "127.0.0.1")
--port=<number> | default: 8080 -debug
--debug=<bool> | default: false Enable debug output
--no-banner=<bool> | default: false -dns-addr string
--timeout=<number> | default: 0 DNS addr (default "8.8.8.8")
| Enforces specific connection timeout. Set 0 to turn off -dns-port int
--url=<url> | Can be used multiple times. If set, DNS port (default 53)
| it will bypass DPI only for this url. -enable-doh
| Example: --url=google.com --url=github.com Enable DOH
--pattern=<regex> | If set, it will bypass DPI only for packets -no-banner
| that matches this regex pattern. Disable banner
| Example: --pattern="google|github" -pattern string
Bypass DPI only on packets matching this regex pattern
-port int
port (default 8080)
-timeout int
timeout in milliseconds (default 2000)
-url value
Bypass DPI only on this url, can be passed multiple times
``` ```
> If you are using any vpn extensions such as Hotspot Shield in Chrome browser, > If you are using any vpn extensions such as Hotspot Shield in Chrome browser,
go to Settings > Extensions, and disable them. go to Settings > Extensions, and disable them.

View File

@ -50,19 +50,27 @@ wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash
# 사용법 # 사용법
``` ```
Usage: spoof-dpi [options...] Usage: spoof-dpi [options...]
--addr=<addr> | default: 127.0.0.1 -addr string
--dns=<addr> | default: 8.8.8.8 Listen addr (default "127.0.0.1")
--port=<number> | default: 8080 -debug
--debug=<bool> | default: false Enable debug output
--no-banner=<bool> | default: false -dns-addr string
--timeout=<number> | default: 0 DNS addr (default "8.8.8.8")
| Enforces specific connection timeout. Set 0 to turn off -dns-port int
--url=<url> | Can be used multiple times. If set, DNS port (default 53)
| it will bypass DPI only for this url. -enable-doh
| Example: --url=google.com --url=github.com Enable DOH
--pattern=<regex> | If set, it will bypass DPI only for packets -no-banner
| that matches this regex pattern. Disable banner
| Example: --pattern="google|github" -pattern string
Bypass DPI only on packets matching this regex pattern
-port int
port (default 8080)
-timeout int
timeout in milliseconds (default 2000)
-url value
Bypass DPI only on this url, can be passed multiple times
``` ```
> 만약 브라우저에서 Hotspot Shield와 같은 크롬 VPN 확장프로그램을 사용중이라면 > 만약 브라우저에서 Hotspot Shield와 같은 크롬 VPN 확장프로그램을 사용중이라면
Settings > Extension 으로 이동해 비활성화 해주시기바랍니다. Settings > Extension 으로 이동해 비활성화 해주시기바랍니다.

View File

@ -51,19 +51,27 @@ wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash
# Использование # Использование
``` ```
Usage: spoof-dpi [options...] Usage: spoof-dpi [options...]
--addr=<addr> | default: 127.0.0.1 -addr string
--dns=<addr> | default: 8.8.8.8 Listen addr (default "127.0.0.1")
--port=<number> | default: 8080 -debug
--debug=<bool> | default: false Enable debug output
--no-banner=<bool> | default: false -dns-addr string
--timeout=<number> | default: 0 DNS addr (default "8.8.8.8")
| Enforces specific connection timeout. Set 0 to turn off -dns-port int
--url=<url> | Can be used multiple times. If set, DNS port (default 53)
| it will bypass DPI only for this url. -enable-doh
| Example: --url=google.com --url=github.com Enable DOH
--pattern=<regex> | If set, it will bypass DPI only for packets -no-banner
| that matches this regex pattern. Disable banner
| Example: --pattern="google|github" -pattern string
Bypass DPI only on packets matching this regex pattern
-port int
port (default 8080)
-timeout int
timeout in milliseconds (default 2000)
-url value
Bypass DPI only on this url, can be passed multiple times
``` ```
**Перевод:** **Перевод:**
``` ```

View File

@ -57,19 +57,27 @@ You can also build your own
``` ```
Usage: spoof-dpi [options...] Usage: spoof-dpi [options...]
--addr=<addr> | default: 127.0.0.1 -addr string
--dns=<addr> | default: 8.8.8.8 Listen addr (default "127.0.0.1")
--port=<number> | default: 8080 -debug
--debug=<bool> | default: false Enable debug output
--no-banner=<bool> | default: false -dns-addr string
--timeout=<number> | default: 0 DNS addr (default "8.8.8.8")
| Enforces specific connection timeout. Set 0 to turn off -dns-port int
--url=<url> | Can be used multiple times. If set, DNS port (default 53)
| it will bypass DPI only for this url. -enable-doh
| Example: --url=google.com --url=github.com Enable DOH
--pattern=<regex> | If set, it will bypass DPI only for packets -no-banner
| that matches this regex pattern. Disable banner
| Example: --pattern="google|github" -pattern string
Bypass DPI only on packets matching this regex pattern
-port int
port (default 8080)
-timeout int
timeout in milliseconds (default 2000)
-url value
Bypass DPI only on this url, can be passed multiple times
``` ```
> 如果你在 Chrome 浏览器使用其他 VPN 扩展比如 Hotspot Shield 请去 设置 > 扩展程序禁用它们 > 如果你在 Chrome 浏览器使用其他 VPN 扩展比如 Hotspot Shield 请去 设置 > 扩展程序禁用它们