[點晴永久免費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 編輯過 |
關鍵字查詢
相關文章
正在查詢... |