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/11/30 21:50] Sean Rhoneservers:bsd:vsftpd [2025/11/03 00:31] (current) – [Drives] 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:freebsd_15.0|FreeBSD 15.0]]
  
 ====== Dependencies ====== ====== Dependencies ======
Line 13: Line 13:
  
   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 19:
  
   sysrc vsftpd_enable="YES"    sysrc vsftpd_enable="YES" 
- 
-  service 'vsftpd' start 
  
 ====== Settings ====== ====== Settings ======
Line 41: Line 28:
   su -   su -
  
-  ee '/usr/local/etc/vsftpd.conf' && service 'vsftpd' restart+  ee '/usr/local/etc/vsftpd.conf' && service 'vsftpd' start
  
 <code> <code>
Line 50: Line 37:
 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=/NAS
-force_dot_files=YES</code>+force_dot_files=YES 
 + 
 +# End</code>
  
 ====== Drives ====== ====== Drives ======
  
 +  * [[bsd:notes:rsync_nas]]
   * [[bsd:notes:zfs_nas_format]]   * [[bsd:notes:zfs_nas_format]]
  
Line 66: Line 56:
   su -   su -
  
-  chown -R 'espionage724':'espionage724' '/NAS' && sync+  chown -R 'espionage724':'espionage724' '/NAS'
  
 ===== chmod ===== ===== chmod =====
Line 72: Line 62:
   su -   su -
  
-  chmod -R '774' '/NAS' && sync+  chmod -R '774' '/NAS'
  
/var/www/wiki/data/attic/servers/bsd/vsftpd.1733021422.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki