Whenever I attempt to connect to my FTP server with Tor, it rejects it. The FTP server is using a hidden service, I must use Tor to connect to it.

What Tor says:

 [warn] Rejectiong SOCKS request for anonymous connection to private address [scrubbed].

What Filezilla says:

 Status:    Connecting to
 Status:    Connection with proxy established, performing handshake...
 Error: Proxy handshake failed: ECONNABORTED - Connection aborted
 Response:  425 Can't open data connection for transfer of "/"
 Error: Failed to retrieve directory listing
 Response:  421 Connection timed out.
 Error: Connection closed by server

Is there any way to force Tor to accept my connection.

  • I believe it is because Tor relay operators have chosen to not allow FTP. Try using a different port for FTP. (On client and server)
    – cubecubed
    Dec 29 '14 at 19:18
  • Why did they choose to disallow FTP communique?
    – Aurora
    Dec 29 '14 at 19:18
  • Actually, FTP isn't blocked by default. (torproject.org/docs/faq.html.en#DefaultExitPorts) So it is probably not a blocked port. However, there is a chance that an individual Tor relay operator has chosen to so try again with a new circuit.
    – cubecubed
    Dec 29 '14 at 19:23
  • 1
    The problem with putting an FTP server behind a hidden service is that the client and the server come up with a separate connection for the data transfer. Either the FTP server has to connect back to you (after a PORT command), which would be in the clear, or the server would have to be able to supply an IP for the client to connect to (in the 227 response to the PASV command), which it doesn't know. Also, the fact that FTP wants to exchange IP addresses makes it a bad choice if you want to hide IP addresses. See if you can use HTTP or something else where control and data use one connection.
    – Jobiwan
    Dec 29 '14 at 22:53
  • @Cammy_the_block: Aurora runs the hidden service and the FTP server. There is no exit node involved.
    – Jobiwan
    Dec 29 '14 at 22:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.