LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-10-2015, 03:18 AM   #1
azuahaha
LQ Newbie
 
Registered: May 2013
Posts: 20

Rep: Reputation: Disabled
Unhappy FTPS Ports


Hello All,

I configured vsftpd to work with explict TLS. It works for me and anybody with any pass on firewall but it doesn't work for anyone else from local network nor internet.

My vsftpd.conf file is this;
Code:
local_enable=YES
write_enable=YES
local_umask=002
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=NO
xferlog_std_format=YES
ftpd_banner=Welcome to FTP Service
chroot_local_user=YES
chroot_list_enable=NO
chroot_list_file=/etc/vsftpd/chroot_list
passwd_chroot_enable=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
tcp_wrappers=YES
ssl_enable=NO
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
ssl_ciphers=HIGH
rsa_cert_file=/etc/pki/tls/private/vsftpd.pem
rsa_private_key_file=/etc/pki/tls/private/vsftpd.key
pasv_enable=YES
pasv_min_port=12345
pasv_max_port=12356
pasv_address=internet_ip
listen_address=local_ip

I made network guy to open 20,21,990,12345-12356 ports but still it doesn't work.
Another note is ; to be able to connect FTP server, Active Mode should be selected by client, if it's auto or Passive, it fails.
What should I do for this configuration work ?

Btw, the problem is not about authentication or certificate because it passes those stages and fails at listing directories, it gets "Timeout" error.
 
Old 04-14-2015, 12:02 AM   #2
azuahaha
LQ Newbie
 
Registered: May 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thumbs up

We solved the problem.
The network guy opened the ports for internal network but skipped PASV ports for external network. When he added those ports it worked as Passive mode
 
  


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
[SOLVED] Firewall ports for FTPS (FTP over SSL) connection cccc Linux - Security 4 10-17-2012 02:41 AM
Ftps mkono Linux - Enterprise 1 07-30-2008 04:57 PM
SFTP or FTPS? Which one is faster? testnbbuser Linux - Server 1 02-10-2008 04:50 PM
Send Me Email When Someone FTPs metal_cd Linux - General 3 03-15-2005 11:11 AM
FTPs for Newbies splattermark Linux - Networking 3 02-28-2002 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:15 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