frps配置文件示例:搭建内网穿透服务器
[common] bind_addr = 0.0.0.0 bind_port = 7000
[dashboard] addr = 0.0.0.0 port = 7500 user = admin #请自行替换为您的密码 pwd = 'yourpassword'
HTTP穿透配置
[http] #请替换为您的域名 subdomain = 'yourdomain' #请替换为您的web服务端口号 http_port = 80
SSH穿透配置
[ssh] #请替换为您的SSH服务IP remote_port = 22 #请替换为您的SSH服务用户 user = root #请替换为您的SSH服务密码 password = 'yourpassword'
TCP穿透配置
[tcp] #请替换为您的TCP服务IP remote_port = 8080 #请替换为您的TCP服务端口号 local_port = 8888
原文地址: https://www.cveoy.top/t/topic/oY4g 著作权归作者所有。请勿转载和采集!