Difference between revisions of "FTP Serving"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<span style="font-size: 18pt; color: rgb(186, 55, 42);" >WIP!</span>
<span style="font-size: 18pt; color: rgb(186, 55, 42);" >WIP!</span>
FTP is often used as a way to remotely access files on servers of other types.


[http://www.proftpd.org/ The ProFTPD Project Home Page]
[http://www.proftpd.org/ The ProFTPD Project Home Page]

Revision as of 15:03, 18 November 2023

WIP!

FTP is often used as a way to remotely access files on servers of other types.

The ProFTPD Project Home Page

Installing ProFTPd

  • sudo apt-get install proftpd

At this point, any user with an account on the LAN can access the machine via ftp.

Accessing FTP through NAT (pfSense here...)

ProFTPD: Firewalls, Routers, and NAT

  • sudo 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.

Managing the FTP server

  • sudo service proftpd restart