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 = akkdiy.cn" > frps.ini`

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

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

完事后就可以用 akkdiy.cn: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:December 29, 2021
If you think my article is useful to you, please feel free to appreciate