Files
nexus/wiki/sources/mac-mini-an-zhuang-frp-0-65-0-arm64-cao-zuo-bi-ji.md
2026-04-14 16:02:50 +08:00

52 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Mac Mini 安装 FRP 0.65.0ARM64操作笔记"
type: source
tags: [frp, mac-mini, arm64, 内网穿透, launchd]
date: 2026-04-13
source_file: raw/Technical/Home Office/🟣Mac Mini 安装 FRP 0.65.0ARM64操作笔记.md
---
## Summary
- 核心主题Mac Mini M4上安装配置FRP内网穿透客户端
- 问题域macOS系统软件安装、Gatekeeper权限、内网穿透配置
- 方法/机制:下载解压 → Gatekeeper解除 → 配置 → launchd自启
- 结论/价值实现从公网通过VPS SSH访问内网Mac Mini
## Key Claims
- FRP 0.65.0支持Apple Silicon ARM64架构
- macOS需要xattr解除Gatekeeper限制
- launchd是macOS推荐的开机自启方案
- tmux/nohup可作为短期后台运行替代方案
## Key Concepts
- [[内网穿透]]通过FRP实现外网访问内网服务
- [[Gatekeeper]]macOS应用安全限制机制
- [[launchd]]macOS系统服务管理
- [[FRP]]:高性能内网穿透工具
## Key Entities
- [[Mac Mini]]Apple Silicon主控节点192.168.3.189
- [[FRP]]:内网穿透工具
## Connections
- [[Mac Mini]] ← 运行 ← [[FRP]]
- [[FRP]] ← 隧道 ← [[VPS]]
## 配置参数
| 参数 | 值 |
|------|-----|
| 安装路径 | /opt/frp/frp_0.65.0_darwin_arm64 |
| 服务器地址 | 192.227.222.142 |
| 服务器端口 | 7000 |
| SSH映射 | 22 → 60026 |
## 后台运行方式
1. **tmux**(推荐):适合长期运行
2. **nohup**:简单后台任务
3. **launchd**(推荐开机自启):系统级服务管理
## 端口映射
| 名称 | 类型 | localPort | remotePort |
|------|------|------------|------------|
| macmini-ssh | tcp | 22 | 60026 |
| vaultwarden | tcp | 5151 | 15151 |