[點晴永久免費OA]群暉NAS安裝frp客戶端實現(xiàn)內(nèi)網(wǎng)穿透(非Docker)
當(dāng)前位置:點晴教程→點晴OA辦公管理信息系統(tǒng)
→『 經(jīng)驗分享&問題答疑 』
0. 硬件準(zhǔn)備1. 軟件準(zhǔn)備2. 云服務(wù)器安裝frps[common] bind_addr = 0.0.0.0 bind_port = 7000 # token很關(guān)鍵,是frpc和frps認(rèn)證的憑據(jù) 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] # 云服務(wù)器地址 server_addr = 127.0.0.1 server_port = 7000 # 云服務(wù)器配置的token token = 1234 [Synology DSM] # 群暉管理http訪問5000端口 type = http local_ip = 127.0.0.1 local_port = 5000 # nas.your_domain.cn 是配置的域名,沒有可以填云服務(wù)器地址 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 # 部分群暉內(nèi)置服務(wù)端口轉(zhuǎn)發(fā)示例 [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 編輯過 |
關(guān)鍵字查詢
相關(guān)文章
正在查詢... |