How set the Right Client FTP connection in ISPConfig

Discussion in 'Installation/Configuration' started by Salital, Oct 3, 2011.

  1. Salital

    Salital New Member

    Hi Guys,

    Your forum is great and I appreciate very much your efforts ... How set the Right FTP connection of a Client in ISPConfig? It seems that all I made work but when the Client want connect via FTP at its directory where is its website appear the following message (the TRANSFER SETTING of the Client FTP is active/passive)

    IN THE FTP-User I have the following data


    anyway I try a connection also with the following data

    ftp host: server1.mywebsite.com
    Username: clientftpusername
    Password: ******

    And I receive from the Client FTP the following answer

    with the follow command from root I saw the following enabled services:

    # netstat -tap

    I hope that it's all clear ... It seems that Pure-ftpd works I don't know where is my error

    thank you in advance

    S
     
    Last edited: Oct 3, 2011
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you try both active and passive transfers in your FTP client?

    Is this a physical server or a virtual machine?
     
  3. Salital

    Salital New Member

    yes

    Is a physical server

    regards,

    S
     
  4. eko_taas

    eko_taas New Member

    Firewall in between?

    Do you have firewall between (I had similar issue some time back with same timeout, I was gently quided to my firewall settings :) )

    Mine login is looking like (FTPES - FTP over explicit TSL/SSH)
    Code:
    Status:	Connecting to 192.168.xx.yyy:21...
    Status:	Connection established, waiting for welcome message...
    Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response:	220-You are user number 1 of 50 allowed.
    Response:	220-Local time is now 18:35. Server port: 21.
    Response:	220-This is a private system - No anonymous login
    Response:	220-IPv6 connections are also welcome on this server.
    Response:	220 You will be disconnected after 15 minutes of inactivity.
    Command:	AUTH TLS
    Response:	234 AUTH TLS OK.
    Status:	Initializing TLS...
    Status:	Verifying certificate...
    Command:	USER user1
    Status:	TLS/SSL connection established.
    Response:	331 User user1 OK. Password required
    Command:	PASS **********
    Response:	230-User ftp1 has group access to:  client4    sshusers  
    Response:	230 OK. Current restricted directory is /
    Command:	SYST
    Response:	215 UNIX Type: L8
    Command:	FEAT
    Response:	211-Extensions supported:
    Response:	 EPRT
    Response:	 IDLE
    Response:	 MDTM
    Response:	 SIZE
    Response:	 REST STREAM
    Response:	 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    Response:	 MLSD
    Response:	 AUTH TLS
    Response:	 PBSZ
    Response:	 PROT
    Response:	 UTF8
    Response:	 ESTA
    Response:	 PASV
    Response:	 EPSV
    Response:	 SPSV
    Response:	 ESTP
    Response:	211 End.
    Command:	OPTS UTF8 ON
    Response:	200 OK, UTF-8 enabled
    Command:	PBSZ 0
    Response:	200 PBSZ=0
    Command:	PROT P
    Response:	200 Data protection level set to "private"
    Status:	Connected
    Status:	Retrieving directory listing...
    Command:	PWD
    Response:	257 "/" is your current location
    Command:	TYPE I
    Response:	200 TYPE is now 8-bit binary
    Command:	PASV
    Response:	227 Entering Passive Mode (192,168,xx,yyy,196,204)
    Command:	MLSD
    Response:	150 Accepted data connection
    Response:	226-Options: -a -l 
    Response:	226 9 matches total
    Status:	Directory listing successful
    and as plain....
    Code:
    Status:	Connecting to 192.168.xx.yyy:21...
    Status:	Connection established, waiting for welcome message...
    Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response:	220-You are user number 2 of 50 allowed.
    Response:	220-Local time is now 18:41. Server port: 21.
    Response:	220-This is a private system - No anonymous login
    Response:	220-IPv6 connections are also welcome on this server.
    Response:	220 You will be disconnected after 15 minutes of inactivity.
    Command:	USER user1
    Response:	331 User user1 OK. Password required
    Command:	PASS **********
    Response:	230-User ftp1 has group access to:  client4    sshusers  
    Response:	230 OK. Current restricted directory is /
    Command:	OPTS UTF8 ON
    Response:	200 OK, UTF-8 enabled
    Status:	Connected
    Status:	Retrieving directory listing...
    Command:	PWD
    Response:	257 "/" is your current location
    Status:	Directory listing successful
     
    Last edited: Oct 3, 2011
  5. Salital

    Salital New Member

    but your FTP connection at your webserver is inside your network

    did you try an outside FTP connection to reach your webserver?

    thanks,

    S
     
  6. eko_taas

    eko_taas New Member

    Yes, I showed only as internal "call", (true) internet

    actually in my case:
    - my server1 is on "1st layer" (Buffalo ADSL router, server1 as DMZ) and home users are on "2nd layer" (Buffalo WLAN router behind ADSL-router). This way (possible) family-PCs / NAS-units always as safe as normal home ;-) .

    web and ftp works same way both from 2nd layer and from internet - only problem here has been SMTP (port 25) which has been closed (in&out) by ISP (I learned hard way). Planning to change my ISP to get them opened (receiving emails main issue now).

    When using domain-name (instead of local IP-address=:
    Code:
    Status:	Resolving address of example.com
    Status:	Connecting to xx.245.abc.def:21...
    Status:	Connection established, waiting for welcome message...
    Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response:	220-You are user number 1 of 50 allowed.
    Response:	220-Local time is now 20:17. Server port: 21.
    Response:	220-This is a private system - No anonymous login
    Response:	220-IPv6 connections are also welcome on this server.
    Response:	220 You will be disconnected after 15 minutes of inactivity.
    Command:	AUTH TLS
    Response:	234 AUTH TLS OK.
    Status:	Initializing TLS...
    Status:	Verifying certificate...
    Command:	USER user1
    Status:	TLS/SSL connection established.
    Response:	331 User user1 OK. Password required
    Command:	PASS **********
    Response:	230-User ftp1 has group access to:  client4    sshusers  
    Response:	230 OK. Current restricted directory is /
    Command:	SYST
    Response:	215 UNIX Type: L8
    Command:	FEAT
    Response:	211-Extensions supported:
    Response:	 EPRT
    Response:	 IDLE
    Response:	 MDTM
    Response:	 SIZE
    Response:	 REST STREAM
    Response:	 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    Response:	 MLSD
    Response:	 AUTH TLS
    Response:	 PBSZ
    Response:	 PROT
    Response:	 UTF8
    Response:	 ESTA
    Response:	 PASV
    Response:	 EPSV
    Response:	 SPSV
    Response:	 ESTP
    Response:	211 End.
    Command:	OPTS UTF8 ON
    Response:	200 OK, UTF-8 enabled
    Command:	PBSZ 0
    Response:	200 PBSZ=0
    Command:	PROT P
    Response:	200 Data protection level set to "private"
    Status:	Connected
    Status:	Retrieving directory listing...
    Command:	PWD
    Response:	257 "/" is your current location
    Command:	TYPE I
    Response:	200 TYPE is now 8-bit binary
    Command:	PASV
    Response:	227 Entering Passive Mode (192,168,xx,yyy,196,3)
    Status:	Server sent passive reply with unroutable address. Using server address instead.
    Command:	MLSD
    Response:	150 Accepted data connection
    Response:	226-Options: -a -l 
    Response:	226 9 matches total
    Status:	Directory listing successful
    and
    Code:
    Status:	Resolving address of example.com
    Status:	Connecting to aa.245.bb.ccc:21...
    Status:	Connection established, waiting for welcome message...
    Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response:	220-You are user number 1 of 50 allowed.
    Response:	220-Local time is now 20:21. Server port: 21.
    Response:	220-This is a private system - No anonymous login
    Response:	220-IPv6 connections are also welcome on this server.
    Response:	220 You will be disconnected after 15 minutes of inactivity.
    Command:	USER user1
    Response:	331 User user1 OK. Password required
    Command:	PASS **********
    Response:	230-User ftp1 has group access to:  client4    sshusers  
    Response:	230 OK. Current restricted directory is /
    Command:	SYST
    Response:	215 UNIX Type: L8
    Command:	FEAT
    Response:	211-Extensions supported:
    Response:	 EPRT
    Response:	 IDLE
    Response:	 MDTM
    Response:	 SIZE
    Response:	 REST STREAM
    Response:	 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    Response:	 MLSD
    Response:	 AUTH TLS
    Response:	 PBSZ
    Response:	 PROT
    Response:	 UTF8
    Response:	 ESTA
    Response:	 PASV
    Response:	 EPSV
    Response:	 SPSV
    Response:	 ESTP
    Response:	211 End.
    Command:	OPTS UTF8 ON
    Response:	200 OK, UTF-8 enabled
    Status:	Connected
    Status:	Retrieving directory listing...
    Command:	PWD
    Response:	257 "/" is your current location
    Command:	TYPE I
    Response:	200 TYPE is now 8-bit binary
    Command:	PASV
    Response:	227 Entering Passive Mode (aa,245,bbb,cc,196,211)
    Command:	MLSD
    Response:	150 Accepted data connection
    Response:	226-Options: -a -l 
    Response:	226 9 matches total
    Status:	Directory listing successful
    l works also with laptop / GPRS (i.e. from internet). I hope some help for you....
     

Share This Page