vaikis
12-11-2007, 09:13
installed vsftpd, from internal network can access and list directory, but from WAN can connect, but imposible to list directory :(
www and ssh access from WAN.
nano /opt/etc/xinetd.d/vsftp looks:
# description: The vsftpd FTP server serves FTP connections.
# it uses normal, unencrypted usernames and passwords for auth
service ftp
{
disable = no
socket_type = stream
user = admin
server = /opt/sbin/vsftpd
server_args = /opt/etc/vsftpd.conf
wait = no
nice = 10
only_from = 0.0.0.0/0
}
www and ssh access from WAN.
nano /opt/etc/xinetd.d/vsftp looks:
# description: The vsftpd FTP server serves FTP connections.
# it uses normal, unencrypted usernames and passwords for auth
service ftp
{
disable = no
socket_type = stream
user = admin
server = /opt/sbin/vsftpd
server_args = /opt/etc/vsftpd.conf
wait = no
nice = 10
only_from = 0.0.0.0/0
}