User Tools

Site Tools


servers:bsd:vsftpd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:bsd:vsftpd [2024/12/20 19:32] – [General] Sean Rhoneservers:bsd:vsftpd [2026/07/12 17:25] (current) – [Prerequisites] Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * vsftpd ((https://security.appspot.com/vsftpd.html)) +  * vsftpd 
-  * [[https://www.freshports.org/ftp/vsftpd|FreshPorts]]+  * FTP server
  
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[bsd:server:freebsd_14.2|FreeBSD 14.2]]+  * [[bsd:server:arm:freebsd_15.1|FreeBSD 15.1]] 
 +  * [[bsd:notes:ufs_format|UFS Drive]]
  
 ====== Dependencies ====== ====== Dependencies ======
Line 13: Line 14:
  
   pkg install 'vsftpd-ssl'   pkg install 'vsftpd-ssl'
- 
-====== Firewall ====== 
- 
-  * [[linux:notes:firewalld]] 
-  * TODO 
- 
-  * 20/tcp 
-  * 21/tcp 
-  * PASV: 40000-50000/tcp 
- 
-  sudo firewall-cmd --add-port='20/tcp' --permanent && sudo firewall-cmd --add-port='21/tcp' --permanent && sudo firewall-cmd --add-port='40000-50000/tcp' --permanent && sudo firewall-cmd --reload 
  
 ====== Service ====== ====== Service ======
Line 30: Line 20:
  
   sysrc vsftpd_enable="YES"    sysrc vsftpd_enable="YES" 
- 
-  service 'vsftpd' start 
  
 ====== Settings ====== ====== Settings ======
Line 38: Line 26:
  
   * Pasted at bottom of ''.conf'' and is prioritized over defaults   * Pasted at bottom of ''.conf'' and is prioritized over defaults
-  * TODO: ''/NAS'' should probably be under ''/mnt'' 
  
   su -   su -
  
-  ee '/usr/local/etc/vsftpd.conf' && service 'vsftpd' restart+  ee '/usr/local/etc/vsftpd.conf' && service 'vsftpd' start
  
 <code> <code>
Line 51: Line 38:
 local_enable=YES local_enable=YES
 write_enable=YES write_enable=YES
-#pasv_enable=YES +pasv_enable=YES 
-#pasv_max_port=50000 +pasv_max_port=50000 
-#pasv_min_port=40000 +pasv_min_port=40000 
-local_root=/NAS +local_root=/mnt/NAS1 
-force_dot_files=YES</code> +force_dot_files=YES
- +
-====== Drives ====== +
- +
-  * [[bsd:notes:zfs_nas_format]] +
- +
-====== Permissions ====== +
- +
-===== chown ===== +
- +
-  su - +
- +
-  chown -R 'espionage724':'espionage724' '/NAS' && sync +
- +
-===== chmod ===== +
- +
-  su -+
  
-  chmod -R '774' '/NAS' && sync+# End</code>
  
/usr/local/www/wiki/data/attic/servers/bsd/vsftpd.1734741156.txt.gz · Last modified: by Sean Rhone