LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-25-2007, 07:53 PM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
users cant connect to vsftpd server


- hey guys i installed and configured vsftpd in our ubuntu. i tried to test it by using the ftp command and was able to connect using the account that i created. our ubuntu is were our DSL connection is configured and is also used for internet sharing for our windows network. i tried to connect the vsftpd server from a window computer in our network using a ftp sofware and the account that i created and was able to connect successfully. i ask a friend from an another office using a different ISP to connect to our vsftpd server using the account that i created but says that it cant conne ct. so my problem now is that users not from our network cant connect to our vsftpd server.

this is our vsftpd.conf:
Quote:
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
idle_session_timeout=600
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
 
Old 01-25-2007, 08:43 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
That is probably not a problem with your vsftpd.conf at all, but a network issue. You most likely have either a firewall or router configured on or in front of the vsftpd server. The firewall or router needs to forward ports 20 and 21 from the internet connection in to port 20 and 21 at the internal address of the LAN that the server is at.

If this server is acting as the router and firewall, then just change the firewall (IPtables) so that ports 20 and 21 are open, then it will be all set.

Peace,
JimBass
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
Users canīt connect on my mail server (outside lan) stormrider_may Linux - Networking 1 02-13-2006 10:49 AM
ubuntu client to connect to vsftpd server icga Linux - Software 7 02-08-2006 07:22 PM
vsftpd server: can connect locally, not remotely propz Linux - Networking 2 10-24-2005 12:59 AM
could not connect my vsftpd server exper Linux - Networking 2 07-26-2003 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration