{"id":50832566,"url":"https://github.com/ipmartnetwork/ratholepro","last_synced_at":"2026-06-14T01:01:33.268Z","repository":{"id":363806874,"uuid":"1264970000","full_name":"iPmartNetwork/RatholePro","owner":"iPmartNetwork","description":"Next-generation high-performance reverse proxy tunnel with built-in multiplexing, multi-transport encryption, UDP forwarding, load balancing, P2P NAT traversal, and HTTP proxy support. Engineered for raw speed, zero-compromise security, and dead-simple deployment.","archived":false,"fork":false,"pushed_at":"2026-06-10T11:31:25.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-10T13:15:32.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iPmartNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-10T10:47:35.000Z","updated_at":"2026-06-10T11:32:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/iPmartNetwork/RatholePro","commit_stats":null,"previous_names":["ipmartnetwork/ratholepro"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/iPmartNetwork/RatholePro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2FRatholePro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2FRatholePro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2FRatholePro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2FRatholePro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iPmartNetwork","download_url":"https://codeload.github.com/iPmartNetwork/RatholePro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2FRatholePro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34305789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-14T01:01:32.365Z","updated_at":"2026-06-14T01:01:33.253Z","avatar_url":"https://github.com/iPmartNetwork.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RatholePro\n\n**By iPmart Network (Ali Hassanzadeh)**\n\n\u003e **RatholePro** — Next-generation high-performance reverse proxy tunnel built in Go with real yamux multiplexing, multi-transport encryption (TLS / Noise / WebSocket / wss), auto-TLS, and UDP forwarding. Single binary, zero config headache.\n\n[![GitHub Stars](https://img.shields.io/github/stars/iPmartNetwork/RatholePro?style=flat-square)](https://github.com/iPmartNetwork/RatholePro/stargazers)\n[![License](https://img.shields.io/github/license/iPmartNetwork/RatholePro?style=flat-square)](https://github.com/iPmartNetwork/RatholePro/blob/master/LICENSE)\n[![Release](https://img.shields.io/github/v/release/iPmartNetwork/RatholePro?style=flat-square)](https://github.com/iPmartNetwork/RatholePro/releases)\n\n---\n\n## Features\n\n| Category | Features |\n|----------|----------|\n| **Core** | Real yamux multiplexing (single TCP, many streams) |\n| **Transports** | TCP, TLS (auto-cert!), Noise (X25519 + AES-256-GCM), WebSocket, WebSocket-over-TLS (wss) |\n| **Protocols** | TCP forwarding, UDP forwarding |\n| **Security** | SHA-256 token auth, TLS 1.2+ (auto-generated cert), authenticated X25519/AES-256-GCM \"Noise\" transport |\n| **Networking** | IPv6 |\n| **Operations** | Auto reconnect, yamux keepalive, Systemd service, Menu-driven installer |\n\n---\n\n## Quick Install (Linux)\n\n```bash\nbash \u003c(curl -Ls https://raw.githubusercontent.com/iPmartNetwork/RatholePro/master/install.sh)\n```\n\n---\n\n## Manual Download\n\nDownload from [Releases](https://github.com/iPmartNetwork/RatholePro/releases/latest):\n\n| Platform | Architecture | File |\n|----------|-------------|------|\n| Linux | x86_64 (AMD/Intel) | `rathole-pro-linux-amd64` |\n| Linux | ARM64 (aarch64) | `rathole-pro-linux-arm64` |\n| Linux | ARMv7 (32-bit) | `rathole-pro-linux-armv7` |\n| Linux | MIPS64 | `rathole-pro-linux-mips64` |\n| Linux | MIPS | `rathole-pro-linux-mips` |\n| Windows | x86_64 | `rathole-pro-windows-amd64.exe` |\n| macOS | x86_64 (Intel) | `rathole-pro-darwin-amd64` |\n| macOS | ARM64 (Apple Silicon) | `rathole-pro-darwin-arm64` |\n\n```bash\nwget https://github.com/iPmartNetwork/RatholePro/releases/latest/download/rathole-pro-linux-amd64\nchmod +x rathole-pro-linux-amd64\nsudo mv rathole-pro-linux-amd64 /usr/local/bin/rathole-pro\n```\n\n---\n\n## Build from Source\n\nRequires Go 1.22+:\n\n```bash\ngit clone https://github.com/iPmartNetwork/RatholePro.git\ncd RatholePro/go-core\ngo build -ldflags=\"-s -w\" -o rathole-pro .\nsudo mv rathole-pro /usr/local/bin/\n```\n\n---\n\n## Usage\n\n```bash\n# Server mode\nrathole-pro server.toml\n\n# Client mode\nrathole-pro client.toml\n\n# Validate config\nrathole-pro --validate server.toml\n\n# Generate Noise keypair\nrathole-pro --gen-key\n\n# Show version\nrathole-pro --version\n```\n\n---\n\n## Configuration Examples\n\n### Basic TCP Tunnel\n\n**Server** (public IP — Iran):\n```toml\n[server]\nbind_addr = \"0.0.0.0:2333\"\ndefault_token = \"my_secret_token\"\n\n[server.services.web]\nbind_addr = \"0.0.0.0:8080\"\n```\n\n**Client** (behind NAT — Kharej):\n```toml\n[client]\nremote_addr = \"IRAN_IP:2333\"\ndefault_token = \"my_secret_token\"\nretry_interval = 3\nmux_connections = 4\n\n[client.services.web]\nlocal_addr = \"127.0.0.1:8080\"\nmux_streams = 8\n```\n\n---\n\n### TLS with Auto-Cert (no domain needed!)\n\n**Server:**\n```toml\n[server.transport]\ntype = \"tls\"\n\n[server.transport.tls]\nauto_cert = true\n```\n\n**Client:**\n```toml\n[client.transport]\ntype = \"tls\"\n\n[client.transport.tls]\n# Nothing needed! Encryption active, no cert file required.\n```\n\n\u003e Certificate is auto-generated on first run. No domain, no manual setup.\n\n---\n\n### TLS with Custom Cert\n\n```toml\n[server.transport]\ntype = \"tls\"\n\n[server.transport.tls]\ntrusted_root = \"/etc/certs/cert.pem\"\npkcs12 = \"/etc/certs/key.pem\"\n```\n\n---\n\n### Noise Protocol (no certificates!)\n\n```toml\n# Server\n[server.transport]\ntype = \"noise\"\n\n[server.transport.noise]\nlocal_private_key = \"BASE64_PRIVATE_KEY\"\n\n# Client\n[client.transport]\ntype = \"noise\"\n\n[client.transport.noise]\nremote_public_key = \"BASE64_PUBLIC_KEY\"\n```\n\nGenerate keys: `rathole-pro --gen-key`\n\n---\n\n### WebSocket (bypass firewalls)\n\n```toml\n[server.transport]\ntype = \"ws\"\n\n[server.transport.websocket]\npath = \"/tunnel\"\n```\n\n---\n\n### WebSocket over TLS / wss (CDN bypass: Cloudflare, ArvanCloud)\n\n```toml\n# Server\n[server.transport]\ntype = \"wss\"\n\n[server.transport.tls]\nauto_cert = true\n\n[server.transport.websocket]\npath = \"/tunnel\"\n\n# Client\n[client.transport]\ntype = \"wss\"\n\n[client.transport.tls]\nhostname = \"your-server.com\"\n\n[client.transport.websocket]\npath = \"/tunnel\"\n```\n\n---\n\n### UDP Forwarding (WireGuard, games, DNS)\n\n```toml\n# Server\n[server.services.wireguard]\ntype = \"udp\"\nbind_addr = \"0.0.0.0:51820\"\n\n# Client\n[client.services.wireguard]\ntype = \"udp\"\nlocal_addr = \"127.0.0.1:51820\"\n```\n\n---\n\n## Architecture\n\n```\n                     Transport Layer\n              (TCP / TLS / Noise / WebSocket)\n                           │\n                      ┌────┴────┐\n                      │  yamux  │  ← single TCP connection, many streams\n                      └────┬────┘\n                           │\nVisitor ─► [Server:8080] ──┼──► stream 1 ──► [Client] ──► [127.0.0.1:8080]\nVisitor ─► [Server:8080] ──┼──► stream 2 ──► [Client] ──► [127.0.0.1:8080]\nVisitor ─► [Server:5022] ──┼──► stream 3 ──► [Client] ──► [127.0.0.1:22]\nUDP pkt ─► [Server:51820] ─┼──► stream 4 ──► [Client] ──► [127.0.0.1:51820]\n```\n\n---\n\n## Install Script Menu\n\n```\n╔═══════════════════════════════════════════════════════════╗\n║         Rathole Pro v0.4.0 (Go + Yamux)                  ║\n║  Transports: TCP │ TLS (auto-cert) │ Noise │ WebSocket  ║\n║  Developer: iPmart Network (Ali Hassanzadeh)             ║\n╚═══════════════════════════════════════════════════════════╝\n\n  1) Install Binary\n  2) Configure IRAN Server (users connect here)\n  3) Configure KHAREJ Server (services run here)\n  4) Start / 5) Stop / 6) Restart\n  7) Status / 8) Logs / 9) View Config\n 10) Update / 11) Uninstall\n  0) Exit\n```\n\n---\n\n## Comparison\n\n| Feature | rathole | frp | Backhaul | **RatholePro** |\n|---------|---------|-----|----------|----------------|\n| Yamux Multiplexing | ✗ | ✗ | ✓ | ✓ |\n| TLS Auto-Cert | ✗ | ✗ | ✗ | ✓ |\n| Noise Protocol | ✓ | ✗ | ✗ | ✓ |\n| WebSocket / wss | ✓ | ✗ | ✓ | ✓ |\n| UDP Forward | ✓ | ✓ | ✓ | ✓ |\n| IPv6 | Partial | ✓ | ✗ | ✓ |\n| Install Script | ✗ | ✗ | ✗ | ✓ |\n| Single Binary | ✓ | ✓ | ✓ | ✓ |\n\n---\n\n## License\n\nApache-2.0 — [iPmart Network (Ali Hassanzadeh)](https://github.com/iPmartNetwork)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipmartnetwork%2Fratholepro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipmartnetwork%2Fratholepro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipmartnetwork%2Fratholepro/lists"}