Yet Another HTTP Proxy Server (yahps): 基于 Bun 的正向代理服务
虽然是写着玩的 但是也要加点功能
▎对上游 30x 重定向添加 allowlist/denylist 校验与代理重写
原消息
服务器合集
频道资源合集
恰饭推荐
群组
#github #加速 #代理 #正向代理
▎对上游 30x 重定向添加 allowlist/denylist 校验与代理重写
- ❤️1
因为proxyip是反代了443端口的, 所以访问cf的话只能访问https
除非这个proxyip的80端口还反代了cf的80端口
allowlist/denylist 和 userAgentAllowlist/userAgentDenylistproxyPath, 避免根路径 / 直接暴露代理能力localRejectionResponse 响应体,例如返回普通的 404 Not Found
✨ 基于 CLIProxyAPI 的深度增强版 — 补强了生产级管理层、Web 控制面板托管能力,以及面向日常运维的终端 TUI。
allowlist/denylist 和 userAgentAllowlist/userAgentDenylistproxyPath, 避免根路径 / 直接暴露代理能力localRejectionResponse 响应体,例如返回普通的 404 Not Found我们来超越使用光猫,在光猫设备上运行clash
此项目旨在吉比特光伏光猫运行mihomo core(shellcrash编译版本)来实现家庭网络代理,方便快捷的使用网络代理,无需购买高额的软路由用作科学上网
# > 自己 Gist 的分流
RULE-SET,http://self/direct,DIRECT
# > skk 佬的分流
RULE-SET,http://skk/non_ip/lan,DIRECT
# > bm7 仓库的分流
RULE-SET,http://bm7/Global_All,Proxy
# > 自建服务端 Sub-Store 的组合订阅
订阅 01 = select, policy-path=http://sub/01http://bm7/Global_Allhttps://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Global/Global_All.listhttp://self/directhttps://gist.githubusercontent.com/your_username/your_gist_id/raw/direct.listhttp://sub/01https://your_sub_store_api.com/xxxxxx/download/collection/01?target=Surge[URL Rewrite]
^http:\/\/bm7\/(.*?)(_.*)?$ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/$1/$1$2.list 302
^http:\/\/skk\/(.*?)$ https://ruleset.skk.moe/List/$1.conf 302
^http:\/\/self\/(.*)$ https://gist.githubusercontent.com/your_username/your_gist_id/raw/$1.list 302
^http:\/\/sub\/(.*)$ https://your_sub_store_api.com/xxxxxx/download/collection/$1?target=Surge 302RULE-SET,http://❤️🍟/HTTPDNS,Reject^http:\/\/xn--qeiz318m\/HTTPDNS http://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/ruleset/HTTPDNS.Block.list 302