vim /etc/fdfs/tracker.conf
http.server_port = 8080use_storage_id = false
vim /etc/fdfs/tracker.conf
http.server_port = 8888tracker_server = 公网IP:22122
vim /etc/fdfs/storage_ids.conf
<id> <group_name> <ip_or_hostname>
# 100001 group1 公网IP
vim /etc/fdfs/mod_fastdfs.conf
use_storage_id = falsetracker_server = 公网地址:22122
vim /etc/fdfs/client.conf
use_storage_id = falsehttp.tracker_server_port = 80tracker_server = 内网地址:22122
vim /fastdfs/storage/data/.data_init_flag
last_ip_addr = 内网IPlast_server_port = 23000last_http_port = 8888
vim /fastdfs/tracker/data/storage_sync_timestamp.dat
group1,内网地址,0,0group1,公网IP,0,0