Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tips:ftp [2019/01/12 08:21] – [pure ftpd] scipio | tips:ftp [2019/06/19 09:16] (current) – [arch] scipio | ||
---|---|---|---|
Line 16: | Line 16: | ||
systemctl restart pure-ftpd.service | systemctl restart pure-ftpd.service | ||
</ | </ | ||
+ | |||
+ | ==== listen port ==== | ||
change listen port, for example 8021 | change listen port, for example 8021 | ||
< | < | ||
- | echo " | + | echo ",8021" > / |
</ | </ | ||
+ | |||
+ | ==== passive mode ==== | ||
+ | |||
+ | Use public IP of natted ftp server and open 29799-29899 port range in firewall | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | echo " | ||
+ | echo " | ||
+ | echo "29799 29899" > PassivePortRange | ||
+ | echo " | ||
+ | </ | ||
+ | |||
===== arch ===== | ===== arch ===== | ||
Line 36: | Line 51: | ||
< | < | ||
pure-pw useradd hass -u hass -g hass -d / | pure-pw useradd hass -u hass -g hass -d / | ||
+ | pure-pw mkdb | ||
</ | </ | ||