happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
8.99k stars 1.98k forks source link

双IP设置总是无法成功 #581

Open chengjf0526 opened 2 years ago

chengjf0526 commented 2 years ago

第一种方式: vi /etc/fdfs/tracker.conf

use_storage_id=true store_group=group1

vi /etc/fdfs/storage_ids.conf

100001 group1 内网IP 100002 group1 外网IP

vi /etc/fdfs/storage.conf

tracker_server=内网IP:22122 tracker_server=外网IP:22122

第二种方式: 其他相同 vi /etc/fdfs/storage.conf

tracker_server=内网IP,外网IP:22122

整个网络结构是: 外网IP(防火墙上配置)-->局域网外网映射服务器(nginx进行socket转发)-->内网IP(局域网文件服务器) 在互联网怎么连接都是失败的 双IP的完整配置方法有吗,我网上找到的都存在问题