Konfigurasi VSFTPD dibelang NAT

listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES
allow_writeable_chroot=YES
user_sub_token=$USER
local_root=/var/www/html/$USER
pasv_enable=YES
pasv_min_port=5000
pasv_max_port=5999

Untuk passive port harus dibuka di router sesuai nomor port dalam konfigurasi.

# useradd  -m  -d  /var/www/html/heri  -s  /bin/bash  heri
# chown  -R  user:user  /var/www/html/heri
# chmod  -R  755  /var/www/html/heri

Discover more from XNOR

Subscribe to get the latest posts sent to your email.

Leave a ReplyCancel reply

Discover more from XNOR

Subscribe now to keep reading and get access to the full archive.

Continue reading