sword

利用frp在本地内网搭建可外网访问的FTP服务器
本文以FileZilla Server为例下载地址:链接:http://pan.baidu.com/s/1pKZ7...
扫描右侧二维码阅读全文
01
2018/04

利用frp在本地内网搭建可外网访问的FTP服务器

本文以FileZilla Server为例
下载地址:链接:http://pan.baidu.com/s/1pKZ7Qif 密码:dzz4

注意,FTP穿透时frpc里设置local port和remote port必须一样

FileZilla Server设置(默认会新建用户及共享文件夹,具体请百度谷歌搜索)

1、设置FTP服务端监听端口(尽量不要用默认端口)

请输入图片描述

2、启用被动模式,设置自定义端口范围(必须采用被动模式)
请输入图片描述

frpc设置(local port和remote port必须一样)

[common] 
server_addr = freenat.bid 
privilege_token = frp888 
server_port = 7000 
log_file = frpc.log 
log_level = info 
log_max_days = 7 

[tcp_23493] 
type = tcp 
remote_port = 6333 
local_ip = 127.0.0.1 
local_port = 6333
#监听端口 
privilege_mode = true 
authentication_timeout = 0 
use_encryption = true 
use_gzip = true 

[tcp_23494] 
type = tcp 
remote_port = 6334 
local_ip = 127.0.0.1 
local_port = 6334
#被动模式自定义端口 
privilege_mode = true 
authentication_timeout = 0 
use_encryption = true 
use_gzip = true 

成功示例:

注意:用服务器地址+监听端口访问
请输入图片描述

Last modification:December 2nd, 2018 at 08:46 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment

2 comments

  1. 邱憨包   ( Windows 10 x64 Edition Windows 10 x64 Edition / UC 浏览器 6.2.4094.1 UC 浏览器 6.2.4094.1 )

    这么漂亮的页面,不知道怎么设计的,我觉得房主可以 出一个网页设计,特效的文章,最好是视频.啊哈哈(0-0)

    1. 呵呵哒萌萌哒   ( Windows 7 x64 Edition Windows 7 x64 Edition / Google Chrome 68.0.3440.106 Google Chrome 68.0.3440.106 )
      @邱憨包

      这不叫什么页面,这是名称叫handsome的博客主题,便宜好看,右下角有链接