# Proxy-Server **Repository Path**: zhujinrun/proxy-server ## Basic Information - **Project Name**: Proxy-Server - **Description**: 解决订阅地址服务端屏蔽的困扰 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-13 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Proxy Server ```bash # 前台运行 go run . serve # 编译 go build . ``` ## Windows 平台 ```bash # 编译 make dev # 注册到系统 .\dist\proxy-server.exe install # 启动 .\dist\proxy-server.exe start # 查看 sc query ColaProxySvc # 浏览器访问 http://localhost:1994 # status:200 # 停止 & 卸载 .\dist\proxy-server.exe stop .\dist\proxy-server.exe uninstall ``` ## Linux 平台 ```bash make install # 注册到系统 sudo /usr/local/bin/proxy-server install # kardianos/service 会: # 生成 /etc/systemd/system/proxy-server.service # 自动 systemctl daemon-reload sudo systemctl enable --now proxy-server # 启动 sudo systemctl start proxy-server # 查看 sudo systemctl status proxy-server # 浏览器访问 curl http://localhost:1994 # status:200 # 停止 & 卸载 sudo systemctl stop proxy-server sudo /usr/local/bin/proxy-server uninstall ``` ## 局域网证书 * [mkcert-v1.4.4-windows-amd64.exe](https://github.com/FiloSottile/mkcert/releases) ```bash # 安装本地 CA 根证书 mkcert -install # 在 Windows PowerShell 中运行 mkcert -CAROOT C:\Users\Qing\AppData\Local\mkcert\rootCA.pem # iPad 安装 rootCA 证书 C:\Users\Qing\AppData\Local\mkcert\rootCA-key.pem mkcert 192.168.31.234 ./192.168.31.234-key.pem --> ./mkcert-key.pem ./192.168.31.234.pem --> ./mkcert.pem ```