zoraxy

tobychuiAGPL-3.0活跃维护

用 Go 写的通用 HTTP 反向代理和端口转发工具,带网页管理界面,适合在家庭实验室里把内网服务映射到子域名或对外暴露。

A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!

v3.3.5-rc5发布于 2026-11-04 23:31 UTC5,576star +8 / 7 天334fork同步于 2026-11-10 17:36 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/tobychui/zoraxy
cd ./zoraxy/src/
go mod tidy
go build
sudo ./zoraxy -port=:8000
硬件要求按 README 说明

README 未说明显存或 GPU 要求;提供 Windows amd64、Linux amd64/arm64 二进制,可在树莓派等 ARM SBC 及 Termux 上运行。

有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用 Go 写的通用 HTTP 反向代理与转发工具,带 Web 界面,适合自建服务做统一入口

用 Go 写的通用 HTTP 反向代理和端口转发工具,带网页管理界面,适合在家庭实验室里把内网服务映射到子域名或对外暴露。

核心能力

  • 提供 Web 管理界面,内置操作说明
  • 支持 HTTP/2 反向代理与自动 WebSocket 代理
  • 集成 ACME 自动续签与 SNI、DNS Challenge 证书
  • 按国家或 IP 做黑白名单访问控制
  • 内置在线监控、Web-SSH 与插件系统

容易踩的坑

从源码构建需要 Go 1.23 或更高版本;管理界面默认监听 :8000,Web 服务默认监听 443;Web-SSH 仅支持 Linux,且默认禁止连接 127.0.0.1 等回环地址,需加 -sshlb=true 才放开。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v3.3.5-rc5
  1. v3.3.5-rc5最新正式版2026-11-04 · 2026-11-04 23:31 UTC

    v3.3.5-rc5

    This should be the last rc of v3.3.5, tested one week in my homelab to be quite stable and efficient in high concurrent load. If nothing went wrong in the coming week, the official v3.3.5 release will be made in the next weekend.

    What's Changed

    Full Changelog: https://github.com/tobychui/zoraxy/compare/v3.3.5-rc4...v3.3.5-rc5

  2. v3.3.5-rc42026-10-22 · 2026-10-22 11:05 UTC
    查看更新说明

    v3.3.5-rc4

    This version fixed a few smaller bugs and the infamous CVE about a private key containing just a "4".

    What's Changed

    New Contributors

    Full Changelog: https://github.com/tobychui/zoraxy/compare/v3.3.5-rc3...v3.3.5-rc4

  3. v3.3.5-rc32026-10-09 · 2026-10-09 01:01 UTC
    查看更新说明

    v3.3.5-rc3

    This version improved a few security related weakness as well as fixing a plugin racing issue, patching hardware interfacing bugs and so on. The rest of the changes are mostly small re-factorize and hardening of implementations in varies modules.

    btw, I also added the darwin arm64 binary as an experimental build (Makefile not yet in main, but if you are hosting with a Apple Silicon Mac mini of some sort, feel free to try it out)

    What's Changed

    New Contributors

    Full Changelog: https://github.com/tobychui/zoraxy/compare/v3.3.5-rc2...v3.3.5-rc3

  4. v3.3.5-rc22026-09-27 · 2026-09-27 08:07 UTC
    查看更新说明

    v3.3.5-rc2

    This version improved a few ACME related functions including advance control on DNS challenge and propagation mechanism as well as merged-in a few community pull requesting including OAuth2 patches, advance TLS functions and HTTP/3 (QUIC) support.

    The Ingress Advanced Settings dropdown also got a small redesign to make it more beginner friendly.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/tobychui/zoraxy/compare/v3.3.5-rc1...v3.3.5-rc2

  5. v3.3.5-rc12026-09-18 · 2026-09-18 10:55 UTC
    查看更新说明

    As usual, this rc-1 release patched up quite a few issues related to security as well as small UI bugs. We also introduced a new customizable (and also experimental) Zoraxy Auth login page for more "professional" looks. A lot of new patches and features are experimental, so use with caution.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/tobychui/zoraxy/compare/v3.3.4...v3.3.5-rc1

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Zoraxy

    A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!

    Features

    • Simple to use interface with detail in-system instructions

    • Reverse Proxy (HTTP/2)

      • Virtual Directory
      • WebSocket Proxy (automatic, no set-up needed)
      • Basic Auth
      • Alias Hostnames
      • Custom Headers
      • Load Balancing
    • Redirection Rules

    • TLS / SSL setup and deploy

      • ACME features like auto-renew to serve your sites in https
      • SNI support (and SAN certs)
      • DNS Challenge for Let's Encrypt and these DNS providers
    • Blacklist / Whitelist by country or IP address (single IP, CIDR or wildcard for beginners)

    • Stream Proxy (TCP & UDP)

    • Integrated Up-time Monitor

    • Web-SSH Terminal

    • Plugin System

    • Utilities

      • CIDR IP converters
      • mDNS Scanner
      • Wake-On-Lan
      • Debug Forward Proxy
      • IP Scanner
      • Port Scanner
    • Community Contributed Features

      • Forward-Auth Support (e.g. Authelia, Authentik)
      • Oauth2 Support
      • reCAPTCHA
    • Others

      • Basic single-admin management mode
      • External permission management system for easy system integration
      • SMTP config for password reset
      • Dark Theme Mode

    Downloads

    Windows / Linux (amd64) / Linux (arm64)

    For other systems or architectures, please see Releases

    Getting Started

    Installing Zoraxy Reverse Proxy: Your Gateway to Efficient Web Routing

    Thank you for the well written and easy to follow tutorial by Reddit user itsvmn! If you have no background in setting up reverse proxy or web routing, you should check this out before you start setting up your Zoraxy.

    Switching from Nginx / NPM?

    Check out our new (experimental) nginx to Zoraxy config converter!

    Launch Config Converter

    Build from Source

    Requires Go 1.23 or higher

    git clone https://github.com/tobychui/zoraxy
    cd ./zoraxy/src/
    go mod tidy
    go build
    
    sudo ./zoraxy -port=:8000
    

    Usage

    Zoraxy provides basic authentication system for standalone mode. To use it in standalone mode, follow the instructions below for your desired deployment platform.

    Standalone Mode

    Standalone mode is the default mode for Zoraxy. This allows a single account to manage your reverse proxy server just like a basic home router. This mode is suitable for new owners to homelabs or makers starting growing their web services into multiple servers. A full "Getting Started" guide can be found here.

    Linux
    sudo ./zoraxy -port=:8000
    
    Windows

    Download the binary executable and double click the binary file to start it.

    Raspberry Pi

    The installation method is same as Linux. If you are using a Raspberry Pi 4 or newer models, pick the arm64 release. For older version of Pis, use the arm (armv6) version instead.

    Other ARM SBCs or Android phone with Termux

    The installation method is same as Linux. For other ARM SBCs, please refer to your SBC's CPU architecture and pick the one that is suitable for your device.

    Docker

    See the /docker folder for more details.

    Start Parameters

    Usage of zoraxy:
      -acmetestmode
            Run ACME in test/staging mode
      -autorenew int
            ACME auto TLS/SSL certificate renew check interval (seconds) (default 86400)
      -cfgupgrade
            Enable auto config upgrade if breaking change is detected (default true)
      -conf string
            Configuration folder path (default "./conf")
      -db string
            Database backend to use (leveldb, boltdb, auto) Note that fsdb will be used on unsupported platforms like RISCV (default "auto")
      -dbpath string
            Database path (default "./sys.db")
      -default_inbound_enabled
            If web server is enabled by default (default true)
      -default_inbound_port int
            Default web server listening port (default 443)
      -dev
            Use external web folder for UI development
      -docker
            Run Zoraxy in docker compatibility mode
      -earlyrenew int
            Number of days to early renew a soon expiring certificate (days) (default 30)
      -enablelog
            Enable system wide logging, set to false for writing log to STDOUT only (default true)
      -experimental_proxy_protocol
            Enable PROXY protocol v1/v2 support for TLS listener (experimental)
      -fastgeoip
            Enable high speed geoip lookup, require 1GB extra memory (Not recommend for low end devices)
      -log string
            Log folder path (default "./log")
      -mdns
            Enable mDNS scanner and transponder (default true)
      -mdnsname string
            mDNS name, leave empty to use default (zoraxy_{node-uuid}.local)
      -noauth
            Disable authentication for management interface
      -plugin string
            Plugin folder path (default "./plugins")
      -port string
            Management web interface listening port (default ":8000")
      -reset_ac
            Reset admin account username and password to default and exit
      -sshlb
            Allow loopback web ssh connection (DANGER)
      -tmp string
            Temporary folder path (default "./tmp")
      -update_geoip
            Download the latest GeoIP data and exit
      -uuid string
            sys.uuid file path (default "./sys.uuid")
      -version
            Show version of this server
      -webroot string
            Static web server root folder. Only allow change in start paramters (default "./www")
    

    External Permission Management Mode

    If you already have an upstream reverse proxy server in place with permission management, you can use Zoraxy in noauth mode. To enable noauth mode, start Zoraxy with the following flag:

    ./zoraxy -noauth=true
    

    [!WARNING] For security reasons, you should only enable no-auth if you are running Zoraxy in a trusted environment or with another authentication management proxy in front.*

    Screenshots

    More screenshots on the wikipage Screenshots!

    FAQ

    There is a wikipage with Frequently-Asked-Questions!

    Global Area Network Controller

    Moved to official plugin repo, see ztnc plugin

    Web SSH

    Web SSH currently only supports Linux based OSes. The following platforms are supported:

    • linux/amd64
    • linux/arm64
    • linux/armv6 (experimental)
    • linux/386 (experimental)

    Loopback Connection

    Loopback web SSH connections, by default, are disabled. This means that if you are trying to connect to an address like 127.0.0.1 or localhost, the system will reject your connection for security reasons. To enable loopback for testing or development purpose, use the following flags to override the loopback checking:

    ./zoraxy -sshlb=true
    

    Community Maintained Sections

    Some section of Zoraxy are contributed by our amazing community and if you have any issues regarding those sections, it would be more efficient if you can tag them directly when creating an issue report.

    Looking for Maintainer

    • ACME integration (Auto-renew & Zoraxy integration)

    • Zoraxy Auth (Build-in basic SSO feature)

    • Logging (including analysis & attack prevention) Module

    Thank you so much for your contributions!

    Notes on Security Advisories

    Due to recent automated / AI generated advisories, we will no longer accept security advisories directly open on Github.

    If you spot a secuity issue and want to create a security advisories, please contact us via Discord and provide your Github username. Then we will assign you an advisory number for filling in your advisory title. For advisories that do not have a advisory number, we will close it immediately.

    Updates 2026-06-26

    Due to recent floods of AI generated security advisory, Private vulnerability reporting feature of this repo is temporary closed. If you have a critical issue to report, you can reach our maintainer on Discord.

    Sponsor This Project

    If you like the project and want to support us, please consider a donation. You can use the links below

    License

    This project is open-sourced under AGPL. I open-sourced this project so everyone can check for security issues and benefit all users. This software is intended to be free of charge. If you have acquired this software from a third-party seller, the authors of this repository bears no responsibility for any technical difficulties assistance or support.