Difference between revisions of "FTP Serving"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
WIP! | |||
= Installing ProFTPd = | |||
* sudo apt-get install proftpd | * sudo apt-get install proftpd | ||
At this point, any user with an account on the LAN can access the machine via ftp. | At this point, any user with an account on the LAN can access the machine via ftp. | ||
= Accessing FTP through NAT (pfSense here...) = | |||
* sudo vi /etc/proftpd/proftpd.conf | * sudo vi /etc/proftpd/proftpd.conf | ||
Line 15: | Line 19: | ||
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'''. | ||
= Managing the FTP server = | |||
* sudo service proftpd restart | * sudo service proftpd restart |
Revision as of 03:20, 18 November 2023
WIP!
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...)
- 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