User Tools

Site Tools


servers:bsd:vsftpd

Differences

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

Link to this comparison view

Next revision
Previous revision
servers:bsd:vsftpd [2024/11/30 09:33] – created Sean Rhoneservers:bsd:vsftpd [2025/08/28 01:46] (current) – [Service] Sean Rhone
Line 5: Line 5:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[bsd:server:freebsd_14.2|FreeBSD 14.2]]+  * [[bsd:server:freebsd_14.3|FreeBSD 14.3]]
  
 ====== Dependencies ====== ====== Dependencies ======
  
-  su -l+  su -
  
   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 ======
  
-  su -l+  * Service start needs [[#general|conf]] 
 + 
 +  su -
  
   sysrc vsftpd_enable="YES"    sysrc vsftpd_enable="YES" 
 +
 +  service 'vsftpd' start
  
 ====== Settings ====== ====== Settings ======
Line 34: Line 27:
 ===== General ===== ===== General =====
  
-  su -l+  * Pasted at bottom of ''.conf'' and is prioritized over defaults
  
-  ee '/usr/local/etc/vsftpd6.conf' && service 'vsftpd' restart+  su - 
 + 
 +  ee '/usr/local/etc/vsftpd.conf' && service 'vsftpd' restart
  
 <code> <code>
Line 45: Line 40:
 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 ======
Line 59: Line 56:
 ===== chown ===== ===== chown =====
  
-  su -l+  su -
  
-  chown --recursive 'espionage724':'espionage724' '/NAS' && sync+  chown -'espionage724':'espionage724' '/NAS' && sync
  
 ===== chmod ===== ===== chmod =====
  
-  su -l+  su -
  
-  chmod --recursive '774' '/NAS' && sync+  chmod -'774' '/NAS' && sync
  
/usr/local/www/wiki/data/attic/servers/bsd/vsftpd.1732977181.txt.gz · Last modified: by Sean Rhone