Auto-sync: 2026-04-21 17:12

This commit is contained in:
2026-04-21 17:12:45 +08:00
parent 914c8f6925
commit 0fe7ba237f
1888 changed files with 220 additions and 68174 deletions

View File

@@ -1,32 +0,0 @@
---
id: nei-wang-chuan-tou
title: "内网穿透"
type: concept
tags: [networking, nat, proxy]
date: 2026-04-16
---
## Definition
内网穿透NAT Penetration是一种将内网服务通过公网服务器暴露给外部访问的技术又称端口映射或反向代理。
## Key Mechanisms
- **端口映射**:将内网端口映射到公网端口
- **反向代理**:公网服务器接收请求后转发到内网
- **心跳保活**:维持 NAT 映射有效性的机制
- **UDP 打洞**:通过 UDP 穿透 NAT 的技术
## Tools
- [[FRP]]Fast Reverse Proxy开源内网穿透工具
- [[NAT穿透]]:内网穿透的另一种称呼
- ngrok商业内网穿透服务
- frp开源方案
## Use Cases
- 远程访问内网 SSH
- 暴露本地 Web 服务到公网
- 远程调试和开发
- IoT 设备远程管理
## Connections
- [[内网穿透]] ← implemented_by ← [[FRP]]
- [[内网穿透]] ← uses ← [[NAT穿透]]