Unable to connect to FTP server using Filezilla with router in-between











up vote
6
down vote

favorite
1












While connecting to my web server using filezilla, i am getting this error:



Status: Resolving address of ftp.mysite.org.in
Status: Connecting to 199.199.199.18:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 17:58. 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 5 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Error: Could not connect to server


I use a cradlepoint CTR35 wifi router to connect to the wired internet connection.
When i connect to the same server without this router, the connection works flawlessly.



So i guess there is some problem with my router firewall settings, but i dont know what!
Can somebody help me out please?



Note: The server requires EXPLICIT FTP OVER TLS and does not work with plain FTP sessions. And i can connect to other servers using plain FTP with the router in between.



EDIT:



Okay. here is some debug info..



Status: Resolving address of ftp.md-47.webhostbox.net
Status: Connecting to 199.79.63.83:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 05:11. 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 5 minutes of inactivity.
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CRealControlSocket::OnClose(10053)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Status: Waiting to retry...









share|improve this question
























  • Does your webhost support SSH? If so, install WinSCP and use that.
    – LawrenceC
    Sep 29 '14 at 23:11















up vote
6
down vote

favorite
1












While connecting to my web server using filezilla, i am getting this error:



Status: Resolving address of ftp.mysite.org.in
Status: Connecting to 199.199.199.18:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 17:58. 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 5 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Error: Could not connect to server


I use a cradlepoint CTR35 wifi router to connect to the wired internet connection.
When i connect to the same server without this router, the connection works flawlessly.



So i guess there is some problem with my router firewall settings, but i dont know what!
Can somebody help me out please?



Note: The server requires EXPLICIT FTP OVER TLS and does not work with plain FTP sessions. And i can connect to other servers using plain FTP with the router in between.



EDIT:



Okay. here is some debug info..



Status: Resolving address of ftp.md-47.webhostbox.net
Status: Connecting to 199.79.63.83:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 05:11. 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 5 minutes of inactivity.
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CRealControlSocket::OnClose(10053)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Status: Waiting to retry...









share|improve this question
























  • Does your webhost support SSH? If so, install WinSCP and use that.
    – LawrenceC
    Sep 29 '14 at 23:11













up vote
6
down vote

favorite
1









up vote
6
down vote

favorite
1






1





While connecting to my web server using filezilla, i am getting this error:



Status: Resolving address of ftp.mysite.org.in
Status: Connecting to 199.199.199.18:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 17:58. 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 5 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Error: Could not connect to server


I use a cradlepoint CTR35 wifi router to connect to the wired internet connection.
When i connect to the same server without this router, the connection works flawlessly.



So i guess there is some problem with my router firewall settings, but i dont know what!
Can somebody help me out please?



Note: The server requires EXPLICIT FTP OVER TLS and does not work with plain FTP sessions. And i can connect to other servers using plain FTP with the router in between.



EDIT:



Okay. here is some debug info..



Status: Resolving address of ftp.md-47.webhostbox.net
Status: Connecting to 199.79.63.83:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 05:11. 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 5 minutes of inactivity.
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CRealControlSocket::OnClose(10053)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Status: Waiting to retry...









share|improve this question















While connecting to my web server using filezilla, i am getting this error:



Status: Resolving address of ftp.mysite.org.in
Status: Connecting to 199.199.199.18:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 17:58. 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 5 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Error: Could not connect to server


I use a cradlepoint CTR35 wifi router to connect to the wired internet connection.
When i connect to the same server without this router, the connection works flawlessly.



So i guess there is some problem with my router firewall settings, but i dont know what!
Can somebody help me out please?



Note: The server requires EXPLICIT FTP OVER TLS and does not work with plain FTP sessions. And i can connect to other servers using plain FTP with the router in between.



EDIT:



Okay. here is some debug info..



Status: Resolving address of ftp.md-47.webhostbox.net
Status: Connecting to 199.79.63.83:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 150 allowed.
Response: 220-Local time is now 05:11. 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 5 minutes of inactivity.
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::ContinueHandshake()
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CRealControlSocket::OnClose(10053)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Status: Waiting to retry...






ftp wireless-router filezilla tls ftps






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 12 '12 at 5:22

























asked Sep 9 '12 at 18:14









haywire

2541411




2541411












  • Does your webhost support SSH? If so, install WinSCP and use that.
    – LawrenceC
    Sep 29 '14 at 23:11


















  • Does your webhost support SSH? If so, install WinSCP and use that.
    – LawrenceC
    Sep 29 '14 at 23:11
















Does your webhost support SSH? If so, install WinSCP and use that.
– LawrenceC
Sep 29 '14 at 23:11




Does your webhost support SSH? If so, install WinSCP and use that.
– LawrenceC
Sep 29 '14 at 23:11










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Which mode have you got FileZilla setup for, Active or Passive?



Active doesn't work (easily) behind a NAT router.



For more info, see the FileZila wiki entry here:




Active mode



In active mode, the client opens a socket and waits for the server to
establish the transfer connection. By default, FileZilla Client asks
the operating system for the machine's IP address and for the number
of a free port. This configuration can only work if you are connected to the internet directly without any NAT router, and if you have set
your firewall to allow incoming connections on all ports greater than
1024.







share|improve this answer



















  • 3




    I have tried both Active as well as Passive modes, but still the same problem!
    – haywire
    Sep 10 '12 at 17:18













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f472047%2funable-to-connect-to-ftp-server-using-filezilla-with-router-in-between%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Which mode have you got FileZilla setup for, Active or Passive?



Active doesn't work (easily) behind a NAT router.



For more info, see the FileZila wiki entry here:




Active mode



In active mode, the client opens a socket and waits for the server to
establish the transfer connection. By default, FileZilla Client asks
the operating system for the machine's IP address and for the number
of a free port. This configuration can only work if you are connected to the internet directly without any NAT router, and if you have set
your firewall to allow incoming connections on all ports greater than
1024.







share|improve this answer



















  • 3




    I have tried both Active as well as Passive modes, but still the same problem!
    – haywire
    Sep 10 '12 at 17:18

















up vote
0
down vote













Which mode have you got FileZilla setup for, Active or Passive?



Active doesn't work (easily) behind a NAT router.



For more info, see the FileZila wiki entry here:




Active mode



In active mode, the client opens a socket and waits for the server to
establish the transfer connection. By default, FileZilla Client asks
the operating system for the machine's IP address and for the number
of a free port. This configuration can only work if you are connected to the internet directly without any NAT router, and if you have set
your firewall to allow incoming connections on all ports greater than
1024.







share|improve this answer



















  • 3




    I have tried both Active as well as Passive modes, but still the same problem!
    – haywire
    Sep 10 '12 at 17:18















up vote
0
down vote










up vote
0
down vote









Which mode have you got FileZilla setup for, Active or Passive?



Active doesn't work (easily) behind a NAT router.



For more info, see the FileZila wiki entry here:




Active mode



In active mode, the client opens a socket and waits for the server to
establish the transfer connection. By default, FileZilla Client asks
the operating system for the machine's IP address and for the number
of a free port. This configuration can only work if you are connected to the internet directly without any NAT router, and if you have set
your firewall to allow incoming connections on all ports greater than
1024.







share|improve this answer














Which mode have you got FileZilla setup for, Active or Passive?



Active doesn't work (easily) behind a NAT router.



For more info, see the FileZila wiki entry here:




Active mode



In active mode, the client opens a socket and waits for the server to
establish the transfer connection. By default, FileZilla Client asks
the operating system for the machine's IP address and for the number
of a free port. This configuration can only work if you are connected to the internet directly without any NAT router, and if you have set
your firewall to allow incoming connections on all ports greater than
1024.








share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 9 '12 at 19:46

























answered Sep 9 '12 at 19:18









Ƭᴇcʜιᴇ007

98.1k14153212




98.1k14153212








  • 3




    I have tried both Active as well as Passive modes, but still the same problem!
    – haywire
    Sep 10 '12 at 17:18
















  • 3




    I have tried both Active as well as Passive modes, but still the same problem!
    – haywire
    Sep 10 '12 at 17:18










3




3




I have tried both Active as well as Passive modes, but still the same problem!
– haywire
Sep 10 '12 at 17:18






I have tried both Active as well as Passive modes, but still the same problem!
– haywire
Sep 10 '12 at 17:18




















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f472047%2funable-to-connect-to-ftp-server-using-filezilla-with-router-in-between%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

AnyDesk - Fatal Program Failure

How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

QoS: MAC-Priority for clients behind a repeater