npsh

๐Ÿ“˜ NodePass Deployment and Management Guide

็ฎ€ไฝ“ไธญๆ–‡ English

np.sh: One-click deployment of the NodePass main program, providing high-performance TCP/UDP tunneling with multi-system support and flexible configuration. dash.sh: One-click deployment of the NodePassDash control panel, simplifying tunnel management and monitoring with containerization and HTTPS support.


๐Ÿ“‘ Table of Contents


Introduction

NodePass is a universal TCP/UDP tunneling solution with a control-data separation architecture, supporting zero-latency connection pools and multi-mode communication for high-performance, secure access across network restrictions.


System Requirements


1. np.sh Script (Main Program Installation)

Features


Deployment Methods

Interactive Deployment

bash <(wget -qO- https://run.nodepass.eu/np.sh)

or

bash <(curl -sSL https://run.nodepass.eu/np.sh)

Follow the prompts to provide the following information:


Non-interactive Deployment

Example 1: No TLS encryption ```bash bash <(curl -sSL https://run.nodepass.eu/np.sh) \ -i \ --language zh \ --server_ip 127.0.0.1 \ --user_port 18080 \ --prefix api \ --tls_mode 0 ```
Example 2: Self-signed certificate ```bash bash <(curl -sSL https://run.nodepass.eu/np.sh) \ -i \ --language en \ --server_ip localhost \ --user_port 18080 \ --prefix api \ --tls_mode 1 ```
Example 3: Custom certificate ```bash bash <(curl -sSL https://run.nodepass.eu/np.sh) \ -i \ --language zh \ --server_ip 1.2.3.4 \ --user_port 18080 \ --prefix api \ --tls_mode 2 \ --cert_file </path/to/cert.pem> \ --key_file </path/to/key.pem> ```

Quick Commands

After installation, the np shortcut command is created:

Command Description
np Display interactive menu
np -i Install NodePass
np -u Uninstall NodePass
np -v Upgrade NodePass
np -o Start/stop service
np -k Change API key
np -k Change API intranet penetration server
np -s View API information
np -h Display help information

Directory Structure

/etc/nodepass/
โ”œโ”€โ”€ data                # Configuration data
โ”œโ”€โ”€ nodepass            # Main program
โ”œโ”€โ”€ nodepass.gob        # Data storage file
โ””โ”€โ”€ np.sh               # Deployment script

2. dash.sh Script (Control Panel Installation)

Features


Usage Instructions

  1. Run the script:
bash <(wget -qO- https://run.nodepass.eu/dash.sh)

or

bash <(curl -sSL https://run.nodepass.eu/dash.sh)
  1. Provide information:
  1. Container deployment:
  1. Mounted directories:
Host Path Container Path Purpose
~/nodepassdash/logs /app/logs Log files
~/nodepassdash/public /app/public Public resources
  1. Completion prompt: The script will output the access address and admin account details upon completion.

Uninstallation Instructions

To uninstall the NodePassDash control panel:

bash <(wget -qO- https://run.nodepass.eu/dash.sh) uninstall

or

bash <(curl -sSL https://run.nodepass.eu/dash.sh) uninstall

This will clean up the container, configuration files, and mounted directories.

Update Version

Update the NodePassDash container:

bash <(wget -qO- https://run.nodepass.eu/dash.sh) update

or

bash <(curl -sSL https://run.nodepass.eu/dash.sh) update

This will update based on the local and remote versions.

Reset Password

bash <(wget -qO- https://run.nodepass.eu/dash.sh) resetpwd

or

bash <(curl -sSL https://run.nodepass.eu/dash.sh) resetpwd

Deployment Screenshots

image

image


Feedback

For installation or usage issues, please submit feedback at GitHub Issues.