LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-22-2007, 04:33 PM   #1
knudsen83
Member
 
Registered: Dec 2007
Location: Denmark
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 39

Rep: Reputation: 15
problems when running vsFTPd with TLS/SSL


I want to have a server running that enables file transfers in a secure way and at the same time chroot the users in a specific directory. For this purpose i have installed vsftpd as the server and uses filezilla as the client(sertype: explicit FTPES).

I have enabled passive mode on both the client and the server

This is where i enable the ssl in vsftpd.conf

ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES

However it seems that the servers firewall blocks the dataconnection signal so in order to circumvent this i enabled the following in vsftpd.cońf

pasv_enable=YES
pasv_min_port=X
pasv_max_port=Y

and i then open the ports X-Y in my firewall.

Now it works fine on my LAN. But when i try to connect to the server from the internet it doesn't. There is a connection but the content can't be listed, and the client is disconnected.

It should be mentioned that both the server and the client is standing behind separate routers, and i have portforwarded ports 20, 21 and X-Y to my server.

Could someone please help me???
Why is it not working?- it works fine when i just use a FTP connection.
 
Old 12-29-2007, 02:38 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
/etc/hosts.allow
 
Old 01-08-2008, 03:10 PM   #3
knudsen83
Member
 
Registered: Dec 2007
Location: Denmark
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks.
But that won't help bypassing the routers firewall would it??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Proftpd and SSL/TLS mikeheggy Linux - Networking 3 12-19-2008 10:01 AM
vsftpd ssl/tls jefffq Linux - Software 2 07-05-2005 06:38 PM
apache SSL/TLS overlord73 Linux - Security 3 05-12-2005 05:53 AM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 08:47 PM
SSL vs. TLS X11 Linux - Security 8 12-17-2002 03:39 PM


All times are GMT -5. The time now is 02:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration