## 服务端(CentOS64)
# 1.下载文件
wget https://github.com/fatedier/frp/releases/download/v0.31.1/frp_0.31.1_linux_amd64.tar.gz
tar -zxvf frp_0.31.1_linux_amd64.tar.gz
cd frp_0.31.1_linux_amd64
# 2.编辑start.sh, 后台运行(默认的最简配置7000端口即可)
vim start.sh
nohup ./frps -c frps.ini >/dev/null 2>&1 &
./start.sh
## 客户端(Windows64)
# 1.下载文件
wget https://github.com/fatedier/frp/releases/download/v0.31.1/frp_0.31.1_windows_amd64.zip
# 2.配置fprc.ini, 注意tls_enable = true开启加密否则一些网络情况下启动连接失败
[common]
tls_enable = true
server_addr = ali.hepengju.com
server_port = 7000
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 3389
# 3.编辑start-mstsc.bat, 并启动即可
frpc.exe -c frpc.ini