[点晴永久免费OA]群晖NAS安装frp客户端实现内网穿透(非Docker)
当前位置:点晴教程→点晴OA办公管理信息系统
→『 经验分享&问题答疑 』
0. 硬件准备1. 软件准备2. 云服务器安装frps[common] bind_addr = 0.0.0.0 bind_port = 7000 # token很关键,是frpc和frps认证的凭据 token = 1234 vhost_http_port = 7080 vhost_https_port = 7443 dashboard_addr = 0.0.0.0 dashboard_port = 7500 dashboard_user = admin dashboard_pwd = admin dashboard_tls_mode = false enable_prometheus = true log_file = ./frps.log log_level = info log_max_days = 3 ./frps -c frps.ini [Unit] Description = frp server After = network.target syslog.target Wants = network.target [Service] Type = simple ExecStart = /usr/local/frp/frps -c /usr/local/frp/frps.ini [Install] WantedBy = multi-user.target systemctl start frps systemctl stop frps systemctl restart frps systemctl status frps 3. 群晖NAS安装frpc[common] # 云服务器地址 server_addr = 127.0.0.1 server_port = 7000 # 云服务器配置的token token = 1234 [Synology DSM] # 群晖管理http访问5000端口 type = http local_ip = 127.0.0.1 local_port = 5000 # nas.your_domain.cn 是配置的域名,没有可以填云服务器地址 custom_domains = nas.yourdomain.cn use_encryption = false use_compression = true # https不支持ip访问,如无域名此项可不写 [Synology DSM TLS] type = https local_ip = 127.0.0.1 local_port = 5001 # nas.your_domain.cn 是配置的域名 custom_domains = nas.yourdomain.cn use_encryption = true use_compression = true # 部分群晖内置服务端口转发示例 [Synology Drive] type = tcp local_ip = 127.0.0.1 local_port = 6690 remote_port = 7101 nohup ./frpc -c frpc.ini & 4. 配置 https 证书该文章在 2023/12/28 10:31:39 编辑过 |
关键字查询
相关文章
正在查询... |