1、下载FTP服务端软件ftpserv,安装配置用户名,路径等忽略
链接: https://pan.baidu.com/s/1L1th_qDMW1xrtXp5F_ZUzg 提取码: upjg 复制这段内容后打开百度网盘手机App,操作更方便哦
2、配置FTP服务端软件ftpserv为被动模式,并且置顶端口范围,非常重要,FTP被动模式需要一个端口范围,必须配置
3、FRP客户端配置frpc.ini
[cos-ftp]
type = tcp
local_ip = 192.168.1.33
local_port = 21
remote_port = 5021
[cos-ftp-1]
type = tcp
local_ip = 192.168.1.33
local_port = 5024
remote_port = 5024
[cos-ftp-2]
type = tcp
local_ip = 192.168.1.33
local_port = 5025
remote_port = 5025
[cos-ftp-3]
type = tcp
local_ip = 192.168.1.33
local_port = 5026
remote_port = 5026
4、FTP客户端连接