简体中文 | English |
np.sh
: 一键部署 NodePass 主程序,提供高性能 TCP/UDP 隧道服务,支持多系统和灵活配置。
dash.sh
: 一键部署 NodePassDash 控制面板,简化隧道管理和监控,支持容器化和 HTTPS 配置。
NodePass 是一款通用 TCP/UDP 隧道解决方案,采用控制数据双路分离架构,支持零延迟连接池与多模式通信,致力于实现高性能、跨网络限制的安全访问。
np.sh
脚本(主程序安装)bash <(wget -qO- https://run.nodepass.eu/np.sh)
或
bash <(curl -sSL https://run.nodepass.eu/np.sh)
跟随提示操作,依次填写以下信息:
api
)系统将创建 np
快捷命令:
命令 | 功能说明 |
---|---|
np |
显示交互式菜单 |
np -i |
安装 NodePass |
np -u |
卸载 NodePass |
np -v |
升级 NodePass |
np -o |
启动/停止服务 |
np -k |
更换 API key |
np -k |
更换 API 内网穿透的服务器 |
np -s |
查看 API 信息 |
np -h |
显示帮助信息 |
/etc/nodepass/
├── data # 配置数据
├── nodepass # 主程序
├── nodepass.gob # 数据存储文件
└── np.sh # 部署脚本
dash.sh
脚本(控制面板安装)bash <(wget -qO- https://run.nodepass.eu/dash.sh) install
或
bash <(curl -sSL https://run.nodepass.eu/dash.sh) install
主机路径 | 容器内路径 | 用途 |
---|---|---|
~/nodepassdash/logs |
/app/logs |
日志文件 |
~/nodepassdash/public |
/app/public |
公共资源 |
卸载 NodePassDash 控制面板:
bash <(wget -qO- https://run.nodepass.eu/dash.sh) uninstall
或
bash <(curl -sSL https://run.nodepass.eu/dash.sh) uninstall
将会清理容器、配置文件与挂载目录。
更新 NodePassDash 容器:
bash <(wget -qO- https://run.nodepass.eu/dash.sh) update
或
bash <(curl -sSL https://run.nodepass.eu/dash.sh) update
将根据本地和远程版本更新。
bash <(wget -qO- https://run.nodepass.eu/dash.sh) resetpwd
或
bash <(curl -sSL https://run.nodepass.eu/dash.sh) resetpwd
如遇到安装或使用问题,请前往 GitHub 提交 Issues: