Loading... ## **链接信息和token** ``` [common] server_addr = "服务器IP" server_port = 5443 token = "yangsilaoyangsilao" ``` ## **通过 SSH 访问内网机器** ``` [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 5005 ``` ## **TCP & UDP** ``` [[proxies]] name = "memos" type = tcp localIP = "127.0.0.1" localPort = 22 remotePort = 6000 ``` ## **对外提供简单的文件访问服务** ``` [static_file] type = tcp local_ip = 127.0.0.1 remote_port = 6010 plugin = static_file plugin_local_path = "D:\abc" plugin_strip_prefix = "" plugin_http_user = "abc" plugin_http_passwd = "abc" [static_file] type = tcp #自定义域名需要修改成http local_ip = 127.0.0.1 # 本地文件服务 IP 地址 remote_port = 5008 # 本地文件服务端口 plugin = static_file # 使用的插件 plugin_local_path = "D:\abc" # 本地文件夹路径 plugin_strip_prefix = "" # URL 前缀,用于访问文件时的路径/static plugin_http_user = "abc" # HTTP 访问用户名(可选) plugin_http_passwd = "abc" # HTTP 访问密码(可选) custom_domains = "yourdomain.com" # 自定义域名 ``` ## **自定义二级域名** ``` [common] type = http local_ip = 127.0.0.1 local_port = 2001 use_compression = true use_encryption = true custom_domains = memos.trii.top ``` 最后修改:2025 年 03 月 11 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏 本文作者: 肆佬 文章标题:frpc配置详情解释 本文地址:https://www.trrr.top/index.php/archives/243/ 版权说明:若无注明,本文皆肆佬科技站原创,转载请保留文章出处。