spongebob888/shadowquic
حول
A 0-RTT QUIC Proxy with SNI camouflage
الأنظمة والبنية التحتيةالنمو المقاس للنجوم
- خلال 24 ساعة
- +١
- خلال 7 أيام
- +٦
- خلال 15 يومًا
- +٩
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلA 0-RTT QUIC Proxy with SNI camouflage
- UDP Friendly with minimum header
- Full Cone
- QUIC based 0-RTT
- User Management
- Local REST API
- DNS services
- TUN inbound
- Dashboard
- Multipath(Sunnyquic Only)
- SNI camouflage with any domain (powered by JLS)
- Anti-hijack
- Resisting active detection
- Free of certificates
Building with Nix
Build the native package with nix build. On Linux, build a static musl binary
for the host architecture with:
nix build .#musl
./result/bin/shadowquic --help
For customized GitHub Actions builds, see the custom build guide.
Usage
See Documentation
Ask GPT
- Ask ChatGPT
- Prompt:
Read https://spongebob888.github.io/shadowquic/main/configuration/
Give a config of client and server. For clients it should bypass China local traffic with api enabled. The router script should be intergrated with config file
Client
$ shadowquic -c client.yaml
Example config: client.yaml
Clash-rs
# config.yaml
{
name: "node_name",
type: shadowquic,
server: "1.1.1.1",
port: 1443,
username: "my_name",
password: "my_password",
server-name: "cloudflare.com"
}
Server
Installation Script (Linux)
$ curl -L https://raw.githubusercontent.com/spongebob888/shadowquic/main/scripts/linux_install.sh | bash
This script will:
- Install
shadowquicto/usr/local/bin/ - Generate random credentials and config at
/etc/shadowquic/server.yaml - Setup and start
shadowquicsystemd service
$ systemctl start shadowquic.service
$ systemctl stop shadowquic.service
Manual Usage
$ shadowquic -c server.yaml
Example config server.yaml
Configuration detail can be found in Documentation
Use inbounds and outbounds lists. Every endpoint requires a nonempty tag,
unique within its list. All inbounds run concurrently and route through the
outbound named by router.default-outbound; if omitted, the first outbound in the list
is used. For example:
inbounds:
- type: socks
tag: local-socks
bind-addr: "127.0.0.1:1080"
- type: socks
tag: second-socks
bind-addr: "127.0.0.1:1081"
outbounds:
- type: direct
tag: direct
- type: socks
tag: upstream
addr: "127.0.0.1:1082"
router:
default-outbound: direct
Both listeners above use direct. Additional outbounds are available by tag;
API commands select one with api --outbound TAG. Existing singular
inbound/outbound configs continue to work unchanged. Each object becomes a
single-entry list; omitted tags default to inbound and outbound, respectively.
Explicit tags are preserved. List entries still require tags, and specifying both
the singular and plural key for the same direction is an error.
With the plugin feature, configure request routing with either inline Lua source
or a script file:
router:
src: |
return function(ctx) return "direct" end
router:
path: router.lua
Set only one of src and path. Without a script, requests use
router.default-outbound, or the first outbound if it is omitted. Selecting a
default outbound does not require the plugin feature. File paths resolve from
the process working directory.
Changes reload automatically for subsequent requests.
Read or script-loading errors are logged and the last working
router stays active. A successful reload resets Lua script state; existing
connections are unaffected. Inline src scripts are not watched.
The script returns a function that receives the request context and returns a
configured outbound tag, or nil, error_message to reject the request. See the
router configuration reference
for context fields and destination rewriting.
Other Clients
Other Servers
- docker: example compose file
- QuicProxy: GUI and core
- mihomo
Protocol
Interop
Acknowledgement
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…