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 [2026/04/21 20:39] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * vsftpd ((https://security.appspot.com/vsftpd.html))+  * vsftpd 
 +  * FTP server
  
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[bsd:server:freebsd_14.2|FreeBSD 14.2]]+  * [[bsd:server:freebsd_15.1|FreeBSD 15.1]]
  
 ====== 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+  su -
  
   sysrc vsftpd_enable="YES"    sysrc vsftpd_enable="YES" 
Line 34: Line 24:
 ===== 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' start
  
 <code> <code>
Line 45: 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=/mnt/NAS1 
-force_dot_files=YES</code>+force_dot_files=YES
  
-====== Drives ======+# End</code>
  
-  * [[bsd:notes:zfs_nas_format]]+====== fstab ====== 
 + 
 +  * [[bsd:notes:ntfs_fstab|NTFS]]
  
 ====== Permissions ====== ====== Permissions ======
 +
 +  * :?: Might be useful ZFS/UFS
  
 ===== chown ===== ===== chown =====
  
-  su -l+  su -
  
-  chown --recursive 'espionage724':'espionage724' '/NAS' && sync+  chown -'espionage724':'espionage724' '/NAS'
  
 ===== chmod ===== ===== chmod =====
  
-  su -l+  su -
  
-  chmod --recursive '774' '/NAS' && sync+  chmod -'774' '/NAS'
  
/srv/www/wiki/data/attic/servers/bsd/vsftpd.1732977181.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