## 服务端(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

相关文章:

  • 2021-12-31
  • 2021-11-23
  • 2021-12-04
  • 2021-11-08
  • 2021-04-04
  • 2021-11-11
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2021-06-13
  • 2021-12-20
  • 2021-04-29
  • 2021-12-14
  • 2021-12-10
  • 2022-12-23
相关资源
相似解决方案