当前位置:首页 > 教程 > 正文内容

宝塔面板安装frp,多客户端配置

2022-12-26教程4918

宝塔frps插件:

github:https://github.com/Xeath/btp_frps

下载:所有需要的文件点我下载


frps配置:

tcp多路复用:禁用

建议禁用,感觉速度快了不少,这里需要服务端跟客户端一致,否则无法启动



客户端下载:


docker:

https://github.com/stilleshan/frpc

docker run -d --name=frpc --restart=always --network=host -v /root/frpc/frpc.ini:/frp/frpc.ini stilleshan/frpc

修改/root/frpc/frpc.ini文件

vi /root/frp/frpc.ini
docker restart frpc


群晖插件:

套件设置中添加以下链接:

https://spk.imnks.com/

社群-安装“frpc客户端”


openwrt:

https://github.com/kuoruan/openwrt-frp

vi /etc/config/frpc


Windows&Mac:

https://github.com/fatedier/frp

win自启动:http://www.binbinbiji.com/windows/2811.html

1.vbs

Set hd = CreateObject("Wscript.Shell")
hd.run "cmd /c C:/2.bat",vbhide

2.bat

@echo off 
:home 
frpc -c frpc.ini 
goto home


mac配置:https://blog.csdn.net/m0_57035315/article/details/127785628


linux:

wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh

国内镜像:

wget https://github.ioiox.com/stilleshan/frpc/raw/branch/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh

vi /usr/local/frp/frpc.ini

sudo systemctl restart frpc


frpc配置:

[common]
server_addr = 140.99.32.74
server_port = 7000
token = tmd.pet
tcp_mux = false
protocol = tcp
tls_enable = false
[nas]
type = tcp
local_ip = 127.0.0.1
local_port = 80
remote_port = 10010
bandwidth_limit = 1000MB
use_encryption = false
use_compression = false


打赏 支付宝打赏 微信打赏

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。