Skip to content

FRP反向隧道

安装

下载解压即可

运行

启动服务端

bash
nohup /usr/local/soft/frp_0.60.0_linux_amd64/frps -c frps.toml > /usr/local/soft/frp_0.60.0_linux_amd64/logs.txt 2>&1 &

启动客户端

修改客户端配置

bash
serverAddr = "您的服务器IP"
serverPort = 7000

[[proxies]]
name = "test-tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 8080
remotePort = 8080

启动客户端

bash
cd /Users/thomas/software/frp/frp_0.60.0_darwin_arm64/ && ./frpc -c frpc.toml

显示启动成功

image-20240819181121784

人生感悟