Difference between revisions of "FTP Serving"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
(Created page with "* sudo apt-get install proftpd * sudo service proftpd restart == accessing FTP through a firewall (pfSense) == * vi /etc/proftpd/proftpd.conf Lines 51 & 56 need to be un-commented & edited Then create 2 port forwards, one specifically for port 21 (FTP) & one for the the range chosen in PassivePorts.")
 
Line 6: Line 6:


* vi /etc/proftpd/proftpd.conf
* vi /etc/proftpd/proftpd.conf
Lines 51 & 56 need to be un-commented & edited
Lines 51 & 56 need to be un-commented & edited


 
Choose an available range of ports for '''PassivePorts'''.
 
Set '''MasqueradeAddress''' to either the WAN address of your firewall or it's '''FQDN'''.
Then create 2 port forwards, one specifically for port 21 (FTP) & one for the the range chosen in PassivePorts.
Then create 2 port forwards, one specifically for port 21 (FTP) & one for the the range chosen in '''PassivePorts'''.

Revision as of 04:14, 18 November 2023

  • sudo apt-get install proftpd
  • sudo service proftpd restart

accessing FTP through a firewall (pfSense)

  • vi /etc/proftpd/proftpd.conf

Lines 51 & 56 need to be un-commented & edited

Choose an available range of ports for PassivePorts. Set MasqueradeAddress to either the WAN address of your firewall or it's FQDN. Then create 2 port forwards, one specifically for port 21 (FTP) & one for the the range chosen in PassivePorts.