前言
frp可能是用的比较多的反向代理工具,一些时候需要自己修改并且进行跨平台编译
一直忙着工作,好久没写博客。。
步骤
安装golang和git
apt update -y
apt install golang git -y
git clone --depth=1 https://github.com/fatedier/frp
cd frp
go env -w GOPROXY=https://goproxy.cn,direct
go mod download
make frpc
make frps
这样就可以编译出当前平台下的可执行文件
当然也可以使用d