三、服务端安装Frps 小白推荐观看有图比教程视频结合本文进行搭建,大佬们勿喷 Frp肯定不放在眼里 可以跳过本文啦 https://www.有图比.com/embed/tHLeQECJ1R8
项目地址:GitHub – MvsCode/frps-onekey: Frps 一键安装脚本&管理脚本 A tool to auto-compile & install frps on Linux
1、SSH连接到你的vps,记住要用root用户登陆才可以
============== Check your input ==============
You Server IP : 159.75.69.*** //服务器IP/域名
Bind port : 5443 //客户端端口 后面会用到
kcp support : true
vhost http port : 80
vhost https port : 443
Dashboard port : 6443 //服务器面板端口
Dashboard user : admin //服务器端后台用户名
Dashboard password : ****** //服务器端后台用户名
token : zYhupXwhhzqLDxeI
subdomain_host : 159.75.69.***
tcp_mux : true
Max Pool count : 50
Log level : info
Log max days : 3
Log file : enable
4.到这里服务端已经部署好了可以跳到下面服务端配置了,也可以进入面板后台看一下,地址是You Server IP:6443
输入上面的用户名(Dashboard user)和密码Dashboard Password进行登陆
大概这个样子
哦对了,如果你也使用的腾讯或者阿里的机子记得在防火墙中放行端口
四、客户端配置
一、根据复制的信息一一填入
============== Check your input ==============
You Server IP : 159.75.69.*** //填服务器那一栏
Bind port : 5443 //填端口那一栏
kcp support : true
vhost http port : 80
vhost https port : 443
Dashboard port : 6443
Dashboard user : admin
Dashboard password : ******
token : zYhupXwhhzqLDxeI //密令
subdomain_host : 159.75.69.***
tcp_mux : true
Max Pool count : 50
Log level : info
Log max days : 3
Log file : enable