User Tools

Site Tools


servers:linux: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:linux:vsftpd [2025/09/11 21:42] – [General] Sean Rhoneservers:linux:vsftpd [2026/04/18 02:52] (current) – [fstab] Sean Rhone
Line 6: Line 6:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[linux:distros:server:opensuse_tumbleweed_server|openSUSE Tumbleweed (Server)]]+  * [[linux:distros:server:ubuntu_server_lts|Ubuntu Server (LTS)]]
  
 ====== Dependencies ====== ====== Dependencies ======
Line 12: Line 12:
 **** ****
  
-  sudo zypper install 'vsftpd'+  sudo apt install 'vsftpd'
  
 ====== Firewall ====== ====== Firewall ======
  
-****+  [[linux:notes:ufw_uncomplicated_firewall|ufw Notes]] 
 + 
 +  sudo ufw allow '20'/'tcp' && sudo ufw allow '21'/'tcp' && sudo ufw allow '40000':'50000'/'tcp' 
 + 
 +===== Disable IPv6 ===== 
 + 
 +  sudo ufw status numbered 
 + 
 +  sudo ufw delete '9' 
 + 
 +  sudo ufw delete '8'
  
-  sudo firewall-cmd --add-service='vsftpd--permanent && sudo firewall-cmd --reload+  sudo ufw delete '7'
  
 ====== Service ====== ====== Service ======
Line 34: Line 44:
 <code> <code>
 # Custom # Custom
-anonymous_enable=NO 
 write_enable=YES write_enable=YES
 +utf8_filesystem=YES
 listen=YES listen=YES
 listen_ipv6=NO listen_ipv6=NO
 pasv_enable=YES pasv_enable=YES
 +pasv_min_port=40000
 +pasv_max_port=50000
 local_root=/srv/ftp/NAS1 local_root=/srv/ftp/NAS1
 force_dot_files=YES force_dot_files=YES
Line 46: Line 58:
 ====== fstab ====== ====== fstab ======
  
-  * [[linux:notes:disk_gpt_format|Disk Format (GPT)]]+  * [[linux:notes:disk_format_filesystems|Different FS Formats]]
   * [[linux:notes:rsync_nas|rsync]]   * [[linux:notes:rsync_nas|rsync]]
  
Line 63: Line 75:
 <code> <code>
 # NAS # NAS
-UUID=x /srv/ftp/NAS1 xfs defaults,nofail 0 2 +PARTUUID=x /srv/ftp/NAS1 ntfs-3g defaults,noatime,big_writes,nocompression,windows_names,uid=1000,gid=1000 0 2 
-#UUID=x /srv/ftp/NAS2 ntfs defaults,prealloc,windows_names,nofail 0 2+#UUID=x /srv/ftp/NAS2 ntfs-3g defaults,noatime,big_writes,nocompression,windows_names,uid=1000,gid=1000 0 2
  
 # End</code> # End</code>
Line 71: Line 83:
  
 ===== Safe Unmount Externals ===== ===== Safe Unmount Externals =====
 +
 +  sudo zypper install 'udisks2'
  
   sudo udisksctl unmount --force --block-device='/dev/sdb'   sudo udisksctl unmount --force --block-device='/dev/sdb'
/var/www/wiki/data/attic/servers/linux/vsftpd.1757641340.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