惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
量子位
N
Netflix TechBlog - Medium
博客园 - 聂微东
博客园 - Franky
aimingoo的专栏
aimingoo的专栏
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
Google DeepMind News
Google DeepMind News
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC

运维开发绿皮书

OBS虚拟摄像头重命名 Ubuntu备份为LiveOS 使用Powershell卸载windows默认程序 Cisco路由器OSPF配置 汽车的分类和特点 Windows11跳过TPM2.0 HTTPS 双向认证与 USB 加密锁配置实战 SSL 证书工具 字数统计 BMI 计算 颜色转换 Hash 生成器 JSON 格式化 JWT 解码 房贷计算 时间戳转换 URL 编码 UUID 生成 牛马时钟 二维码批量生成器 CKS Simulator Kubernetes 1.25 FRP TOTP验证码生成器 Python软件授权 Linux命令行百度网盘 为 Containerd 配置 Harbor 无证书镜像站 Docker一键部署Meta和MetacubexD面板 必应搜索屏蔽垃圾网站 VMware的ubuntu完整安装vm-tools支持粘贴板 Docker Desktop 安装到其他位置
direct-ssh-passthrough-nat 脚本使用说明
Paper-Dragon · 2026-03-04 · via 运维开发绿皮书

direct-ssh-passthrough-nat 脚本使用说明

项目代码以 git submodule 方式放在仓库目录:

src/.vuepress/public/sh/direct-ssh-passthrough-nat

拉取代码(包含子模块)

如果你是第一次 clone 本仓库,需要初始化并更新子模块:

git submodule update --init --recursive

如果你已经 clone 过,只需要更新子模块到记录的提交:

git submodule update --recursive

使用说明(由子模块 README 整理)

安装:

wget https://gitee.com/PaperDragon/direct-ssh-passthrough-nat/raw/master/frpc_linux_install.sh
chmod +x frpc_linux_install.sh
./frpc_linux_install.sh

可选:关闭 Spy 模式(安装):

SPY_MODE=False ./frpc_linux_install.sh

配置参数:

参数说明默认值
FRPS_ADDRESSfrps 服务地址frp.geekery.cn
FRPS_PORTfrps 服务端口7000
SPY_MODESpy 模式True

卸载:

wget https://gitee.com/PaperDragon/direct-ssh-passthrough-nat/raw/master/frpc_linux_uninstall.sh
chmod +x frpc_linux_uninstall.sh
./frpc_linux_uninstall.sh

可选:关闭 Spy 模式(卸载):

SPY_MODE=False ./frpc_linux_uninstall.sh

Docker 运行:

docker run -itd --ipc=host \
    --pid=host \
    -v /:/host \
    jockerdragon/frpc-ssh-passthrough:latest

更新日志

  • 627ab-docs: add direct-ssh-passthrough-nat submodule and usage doc