This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:ftp [2018/12/08 10:54] – [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 | ||
| + | < | ||
| + | echo ", | ||
| + | </ | ||
| + | |||
| + | ==== 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 31: | Line 51: | ||
| < | < | ||
| pure-pw useradd hass -u hass -g hass -d / | pure-pw useradd hass -u hass -g hass -d / | ||
| + | pure-pw mkdb | ||
| </ | </ | ||