欢迎光临
IDC人自己的网站

shadowquic具有SNI伪装的0-RTT QUIC代理 搭建

shadowquic是一个具有 SNI 伪装的 0-RTT QUIC 代理,
参考https://github.com/chika0801/tuic-install修改了一个搭建教程:

1、下载程序(这个是amd64的arm去项目获取下载地址)
curl -Lo shadowquic https://github.com/spongebob888/shadowquic/releases/download/v0.2.1/shadowquic-x86_64-linux && chmod +x shadowquic && mv -f shadowquic /usr/local/bin/

2、下载配置
curl -Lo /etc/shadowquic_server.yaml https://github.com/spongebob888/shadowquic/raw/refs/heads/main/shadowquic/config_examples/server.yaml
可以 nano /etc/shadowquic_server.yaml 根据自己的需求修改里面的用户名密码,端口号,伪装的域名等信息

3、systemctl配置
nano /etc/systemd/system/shadowquic.service
粘贴以下内容
[Unit]
After=network.target nss-lookup.target

[Service]
User=root
WorkingDirectory=/etc
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
ExecStart=/usr/local/bin/shadowquic -c /etc/shadowquic_server.yaml
Restart=on-failure
RestartSec=10
LimitNPROC=512
LimitNOFILE=infinity

[Install]
WantedBy=multi-user.target

4、启动程序
systemctl enable –now shadowquic
重启程序 systemctl restart shadowquic
查看状态 systemctl status shadowquic

客户端配置可以参考项目里给的client.yaml配置

https://github.com/spongebob888/shadowquic
客户端有clash-rs、husi、exclave、nekobox、v2rayn实现了windows、mac、linux、安卓、ios全覆盖。
https://github.com/Watfaq/clash-rs
https://github.com/xchacha20-poly1305/husi
https://github.com/dyhkwong/Exclave

赞(1)
未经允许不得转载:IDC头条 » shadowquic具有SNI伪装的0-RTT QUIC代理 搭建

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

全国首家专注IDC行业的垂直自媒体

我要投稿互帮互助