服务器相关 · 2022年3月21日 0

FRP相关

1.文件下载

1.通过git下载 https://github.com/fatedier/frp/releases

2.直接在终端安装

 

wget https://github.com/fatedier/frp/releases/download/v0.13.0/frp_0.13.0_linux_amd64.tar.gz

解压

 

 

tar -zxvf frp_0.13.0_linux_amd64.tar.gz
cd frp_0.13.0_linux_amd64

2.配置文件

2.1 服务器配置文件 frps.ini 

 

[common]
bind_port = 7000
token = abc123
dashboard_port = 7500
dashboard_user = user
dashboard_pwd = password

2.2 客户端配置文件 frpc.ini

[common]
server_addr = 81.68.112.245
server_port = 7000
auto_token = cai123456
[3389]
type = tcp
local_ip = 192.168.1.112  
local_port = 3389   
remote_port =33389

 

 

3.命令行

3.1 启动命令