群晖开启SSH “控制面板” -> ”终端机和SNMP“,启用SSH 下载frp https://github.com/fatedier/frp/releases/ 客户端配置 frpc.ini [common] server_addr = 149.149.149.149 server_port = 7000 [nas_home] type = http local_port = 5000 custom_domains = nas.your-public-dodmain.com 服务端配置 frps.ini [common] bind_port = 7000 vhost_http_port = 7008 vhost_https_port = 7010 dashboard_port = 7001 dashboard_user = admin dashboard_pwd = your_password 设置开机启动 1. 计划任务 -> 新增计划任务 -> 触发的任务 -> 用户自定义脚本 2. 内容如下: cd /var/services/homes/admin/frp_0.33.0_linux_386/ nohup ./frpc -c ./frpc.ini & 配置权限 chmod +x frpc chmod +x frpc.ini 查看后台frpc是否正在运行 ps -aux|grep frpc|grep -v grep 访问 nas.your-public-dodmain.com:7008