VPS服务端配置文件说明:

[common]
bind_port = 7000

token = TleP554844
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin
vhost_http_port = 10080
vhost_https_port = 10443
subdomain_host = 7ipan.com" > frps.ini`

老毛子客户端配置:(替换两端EOF之间的东西就行了)

[common]

server_addr = IP
server_port = 7000
privilege_token = TleP554844
[office]
privilege_mode = true
custom_domains = 7ipan.com
proxy_set_header= 192.168.1.111
type = http
local_port = 80
http_user = 登录名
http_pwd = 密码`

完事后就可以用 7ipan.com:18080 访问到穿透页面了。如果直接设置VPS的IP就用 vpsIP:18080 访问。 每次访问是先frp登陆认证哦

手动一键安装脚本

wget --no-check-certificate https://raw.githubusercontent.com/clangcn/onekey-install-shell/master/frps/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install

而frps是个命令了

Bash
frps {start|stop|restart|status|config|version}

一键脚本的卸载及升级

Bash
./install-frps.sh uninstall
Bash
./install-frps.sh update
Last modification:March 2nd, 2020 at 12:32 pm
如果觉得我的文章对你有用,请随意赞赏。谢谢你