KONFIGURASI FTP SERVER
KONFIGURASI FTP SERVER
september 05, 2023
Alat dan Bahan
PC / Laptop
Koneksi internet untuk menginstall aplikasi Debian 11
Langkah - langkah
Konfigurasi FTP Server
Command Debian:
nano /etc/proftpd/proftpd.conf → Edit command seperti di bawah ini
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off
# Use this to jail all users in their homes
DefaultRoot ~
# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
RequireValidShell off
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
<Anonymous /home/ftp-server>
User nobody
Group nogroup
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Cosmetic changes, all files belongs to ftp user
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>mkdir /home/ftp-server
systemctl restart proftpd
Masuk pada file explorer untuk mengecek ftp server Debian sudah berhasil → Ketikkan ftp://192.168.230.1 pada file explorer
Permasalahan
Tidak ada
Solusi
Tidak ada
Kesimpulan
Laporan ini memberikan panduan komprehensif tentang konfigurasi FTP
server pada Debian 11. Dengan mengikuti petunjuk ini, administrator
dapat berhasil mengimplementasikan dan mengelola FTP server yang aman
dan efisien, memungkinkan pengguna untuk mentransfer file dengan mudah
antara server dan klien mereka.
Komentar
Posting Komentar