frp ftp配置

服务端:

[common]
bind_port = 10081
dashboard_port = 7500
token = 10470c3b4b1fed12c3baac014be15fac67c6e815
dashboard_user = user
dashboard_pwd = user
vhost_http_port = 7000
vhost_https_port = 10443

 

 

客户端:

[common]
server_addr = xx.xx.xx.xx
server_port = 10081
token = 10470c3b4b1fed12c3baac014be15fac67c6e815

[web]
type = http
local_port = 81
custom_domains = xx.xx.xx.xx

[ftp]
type = tcp
local_ip = 127.0.0.1
local_port = 21
remote_port = 2121

[ftp1]
type = tcp
local_ip = 127.0.0.1
local_port = 10000
remote_port = 10000

[ftp2]
type = tcp
local_ip = 127.0.0.1
local_port = 10001
remote_port = 10001

[ftp3]
type = tcp
local_ip = 127.0.0.1
local_port = 10002
remote_port = 10002

[ftp4]
type = tcp
local_ip = 127.0.0.1
local_port = 10003
remote_port = 10003

 

前提:在FileZilla服务端设置被动模式端口号10000-10003

 

http访问HTTP://服务器ip:7000

ftp输入ip,端口号填2121

点赞

发表回复

电子邮件地址不会被公开。必填项已用 * 标注