LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with vsftpd (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-vsftpd-108610/)

boToo 10-26-2003 04:46 AM

help with vsftpd
 
hi
i am not sure my question 's been covered at some point , but couldnt find righ answer, so let me give a try,
ok, i am using redhat 9, i have apache running, ssh, now i am trying to run vsftp,
i can access from local network , but i cant access from outside, ofcouse i am using router, and i open port 21 in router for ftp,
do i need to change somewhere in vsftpd.conf for that?
Thanks heaps in advance

boToo 10-26-2003 06:00 AM

there is errorlog, might help you to help me :( that's what i got when i try to connect from outside,

230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (192,168,2,32,143,244)
425 Security: Bad IP connecting.
ftp> ls
227 Entering Passive Mode (192,168,2,32,77,239)
425 Security: Bad IP connecting.
ftp> ls
227 Entering Passive Mode (192,168,2,32,82,82)
425 Security: Bad IP connecting.

Cancer 10-26-2003 06:23 AM

You can try editing /etc/hosts.allow
You should insert a line like:
vsftpd: 192.168.0.x 192.168.0.y

where 192.168.0.x and 192.168.0.y are IP addresses of PCs allowed to access to your vsftp server...

Bye

boToo 10-26-2003 06:34 AM

Thanks Cancer, but sorry if i didnt explain properly above,
i want to access my ftp server from outside, not just from LAN, i can access vsftp in my LAN with no problem, but not from outside of my LAN
Regards


All times are GMT -5. The time now is 03:56 AM.