Skip to content

A secure, efficient TCP/UDP tunneling solution that delivers fast, reliable access across network restrictions using pre-established TLS/TCP connections. 通用TCP/UDP隧道解决方案,免配置单文件多模式,采用控制数据双路分离架构,内置零延迟自适应连接池,实现跨网络限制的快速安全访问。

License

Notifications You must be signed in to change notification settings

yosebyte/nodepass

nodepass

Mentioned in Awesome Go GitHub release GitHub downloads Go Report Card License Go Reference Ask DeepWiki GitHub last commit

English | 简体中文

NodePass is an enterprise-grade TCP/UDP network tunneling tool featuring a modern three-tier architecture that separates control and data channels, with flexible, high-performance instance management capabilities. It offers zero-configuration deployment with intelligent connection pooling, tiered TLS encryption, and seamless protocol conversion capabilities. Designed for DevOps professionals and system administrators to effortlessly handle complex network scenarios including firewall traversal, NAT bypassing, and tunnel interconnection.

💎 Key Features

  • 🔀 Multiple Operating Modes

    • Server mode accepting incoming tunnels with configurable security
    • Client mode for establishing outbound connections to tunnel servers
    • Master mode with RESTful API for dynamic instance management
  • 🌍 Protocol Support

    • TCP tunneling with persistent connection handling
    • UDP datagram forwarding with configurable buffer sizes
    • Intelligent routing mechanisms for both protocols
  • 🛡️ Security Options

    • TLS Mode 0: Unencrypted mode for maximum speed in trusted networks
    • TLS Mode 1: Self-signed certificates for quick secure setup
    • TLS Mode 2: Custom certificate validation for enterprise security
  • ⚡ Performance Features

    • Smart connection pooling with real-time capacity adaptation
    • Dynamic interval adjustment based on network conditions
    • Minimal resource footprint even under heavy load
  • 🧰 Simple Configuration

    • Zero configuration files required
    • Simple command-line parameters
    • Environment variables for fine-tuning performance

📋 Quick Start

📥 Installation

  • Pre-built Binaries: Download from releases page.
  • Container Image: docker pull ghcr.io/yosebyte/nodepass:latest

🚀 Basic Usage

Server Mode

nodepass "server://:10101/127.0.0.1:8080?log=debug&tls=1"

Client Mode

nodepass "client://server:10101/127.0.0.1:8080?min=128"

Master Mode (API)

nodepass "master://:10101/api?log=debug&tls=1"

📚 Documentation

Explore the complete documentation to learn more about NodePass:

🌐 Ecosystem

The NodePassProject organization develops various frontend applications and auxiliary tools to enhance the NodePass experience:

  • NodePassDash: A modern NodePass management interface that provides master management, instance management, traffic statistics, history records, and more.

  • NodePanel: A lightweight frontend panel that provides visual tunnel management, deployable on Vercel or Cloudflare Pages.

  • npsh: A collection of one-click scripts that provide simple deployment for API or Dashboard with flexible configuration and management.

💬 Discussion

📄 License

Project NodePass is licensed under the BSD 3-Clause License.

⚖️ Disclaimer

This project is provided "as is" without any warranties. Users assume all risks and must comply with local laws for legal use only. Developers are not liable for any direct, indirect, incidental, or consequential damages. Secondary development requires commitment to legal use and self-responsibility for legal compliance. Developers reserve the right to modify software features and this disclaimer at any time. Final interpretation rights belong to developers.

🤝 Sponsors

⭐ Stargazers

Stargazers over time

About

A secure, efficient TCP/UDP tunneling solution that delivers fast, reliable access across network restrictions using pre-established TLS/TCP connections. 通用TCP/UDP隧道解决方案,免配置单文件多模式,采用控制数据双路分离架构,内置零延迟自适应连接池,实现跨网络限制的快速安全访问。

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages