Proyectos
Ver en GitHub
lxien/orbien
Acerca de
一个开箱即用的隧道与反向代理平台,支持 TCP、HTTP、HTTPS、UDP、SOCKS5 协议代理,传输支持 TCP、WebSocket、QUIC、TCP多路复用;支持证书自动申请与续期、抓包重放、压缩、mTLS 加密、访问控制、鉴权、限流、负载均衡、健康检查
Sistemas e infraestructuraWhat you can do
- Proxy protocols: Supports TCP / UDP / HTTP / HTTPS / SOCKS5 / file sharing and more, with a built-in file management UI panel
- Data transport: TCP, WebSocket, QUIC; supports multiplexing and independent connections, with optional Snappy / LZ4 / ZSTD compression
- Security & authentication: mTLS mutual authentication, Token-based identity authentication, IP CIDR access control, HTTP BasicAuth, and time-window access
- Traffic control: Fine-grained bandwidth rate limiting, network backpressure, large-file chunking and streaming transfer
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- -1
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
A high-performance tunneling and reverse proxy platform

1. Introduction
Orbien is a high-performance tunneling and reverse proxy platform built on Netty, supporting multi-protocol proxying, multiple transport channels, secure authentication, and visual operations management.
1.1 Features
- Proxy protocols: Supports TCP / UDP / HTTP / HTTPS / SOCKS5 / file sharing and more, with a built-in file management UI panel
- Data transport: TCP, WebSocket, QUIC; supports multiplexing and independent connections, with optional Snappy / LZ4 / ZSTD compression
- Security & authentication: mTLS mutual authentication, Token-based identity authentication, IP CIDR access control, HTTP BasicAuth, and time-window access
- Traffic control: Fine-grained bandwidth rate limiting, network backpressure, large-file chunking and streaming transfer
- High availability: Round-robin / weighted / random / least-connections load balancing strategies, and service health checks
- Development & testing: Supports HTTP/HTTPS traffic capture, header rewriting, HAProxy real IP retrieval, and more
- Domain routing: Subdomains and custom domains, multi-domain proxying; ACME certificate issuance, auto-renewal, and one-click deployment
- Operations management: Built-in modern Web console with metrics monitoring, memory monitoring, centralized configuration management, and OAuth third-party login integration
- Configuration modes: Client autonomy + server-side centralized configuration management, with bidirectional rule sync for both public and private network scenarios
- Developer integration: Binary client and Spring Boot Starter for embedded access
- Cross-platform: Compatible with Windows, Linux, and macOS (amd64 / arm64)
Architecture

2. Quick Start
2.2 Server
Requires Linux, Docker, and a public IP. Uses H2 database by default
mkdir -p /opt/orbien/data /opt/orbien/logs
cat > /opt/orbien/orbien-server.toml <<'EOF'
server_addr = "0.0.0.0"
server_port = 9527
http_proxy_port = 8080
https_proxy_port = 8443
[dashboard]
enabled = true
addr = "0.0.0.0"
port = 8020
username = "admin"
password = "123456"
[[port_pool.tcp]]
start = 9050
end = 9060
[[port_pool.udp]]
start = 9050
end = 9060
EOF
docker run -d \
--name orbien-server \
--restart unless-stopped \
-p 8080:8080 \
-p 8443:8443 \
-p 8020:8020 \
-p 9527:9527 \
-p 9050-9060:9050-9060 \
-p 9050-9060:9050-9060/udp \
-e SPRING_PROFILES_ACTIVE=h2 \
-e H2_DATA_DIR=/app/data/orbien-server \
-e JAVA_OPTS="-Xms512m -Xmx512m -XX:MaxDirectMemorySize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./heapdump.hprof --enable-native-access=ALL-UNNAMED" \
-e TZ=Asia/Shanghai \
-v /opt/orbien/orbien-server.toml:/app/orbien-server.toml:ro \
-v /opt/orbien/data:/app/data \
-v /opt/orbien/cert:/app/cert \
-v /opt/orbien/config:/app/config \
-v /opt/orbien/logs:/app/logs \
lxien/orbien-server:0.29.0
| Item | Value |
|---|---|
| Dashboard | http://<host>:8020 (admin / 123456) |
| Data dir | /opt/orbien |
| Ports | Tunnel 9527 · HTTP 8080 · HTTPS 8443 · TCP/UDP pool 9050-9060 |
2.3 Client
2.3.1 Binary
Download from Releases
Usage: orbien [-hV] [-c=<configFile>] [COMMAND]
Orbien tunnel client
-c=<configFile> Path to the config file
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
login Save server credentials
logout Clear local credentials
run Start the client from a config file
http Start an HTTP proxy
tcp Start a TCP proxy
udp Start a UDP proxy
Examples:
Start with a config file
# orbien.toml
server_addr = "YOUR_SERVER_ADDR"
server_port = 9527
[auth]
token = "YOUR_TOKEN"
[[proxies]]
name = "MySQL"
protocol = "tcp"
local_ip = "127.0.0.1"
local_port = 3306
#remote_port = 9052
orbien run orbien.toml
Quickly expose services via CLI
orbien login --server YOUR_SERVER_ADDR:9527 --token YOUR_TOKEN
orbien http 8080
orbien tcp 3306
2.3.2 Docker
mkdir -p /path/to/orbien/logs /path/to/orbien/.orbien
cat > /path/to/orbien/orbien.toml <<'EOF'
server_addr = "YOUR_SERVER_ADDR"
server_port = 9527
[auth]
token = "YOUR_TOKEN"
EOF
docker run -d \
--name orbien \
--restart unless-stopped \
-e TZ=Asia/Shanghai \
-v /path/to/orbien/orbien.toml:/app/orbien.toml:ro \
-v /path/to/orbien/logs:/app/logs \
-v /path/to/orbien/.orbien:/root/.orbien \
lxien/orbien:0.29.0
2.3.3 Spring Boot Starter
<dependency>
<groupId>io.github.lxien</groupId>
<artifactId>orbien-spring-boot-starter</artifactId>
<version>0.29.0</version>
</dependency>
# application.yml
orbien:
client:
enabled: true
server-addr: YOUR_SERVER_ADDR
auth:
token: YOUR_TOKEN
proxy:
protocol: HTTP
Feedback
- Issues: github.com/lxien/orbien/issues
- Online discussion: Discord
Explorar proyectos relacionados
Cargando…