Inception/srcs/requirements/ftp/conf/vsftpd.conf
2025-05-22 18:23:37 +02:00

34 lines
641 B
Plaintext

# Allow local users to log in
local_enable=YES
# Enable write permissions for local users
write_enable=YES
# Restrict users to their home directories
chroot_local_user=YES
# Enable passive mode (useful for NAT and firewalls)
pasv_enable=YES
pasv_min_port=30000
pasv_max_port=30009
# Disable anonymous login
anonymous_enable=NO
# Set the FTP banner message
ftpd_banner=Welcome to the FTP server.
# Listen on IPv4
listen=YES
# Disable IPv6 (optional, if not needed)
listen_ipv6=NO
# Set the maximum number of clients
max_clients=10
# Set the maximum number of connections per IP
max_per_ip=5
# Log all FTP requests
xferlog_enable=YES