1

I'm building a hidden service hosting provider and actually I'm able to run a web-/ and Mysql Server full proxied over the tor network. But I'm wondering how I could realize a file-transfer protocol like FTP over the tor network.

Is there any tutorial or paper about this out there? So I could create mysql, ftp access for my clients without revealing the real IP of my server. Can anyone help me with that?

1
  • It can be done. I don't get the technicals but I used a hosting provider that had an ftp.... Commented Oct 13, 2020 at 8:33

1 Answer 1

0

Assuming that you are using Linux, here's how I would do it. Install vsftpd or whatever ftp server that you prefer. Make sure that your firewall is blocking it's normal port (probably port 21) to the outside.

In your /etc/tor/torrc file add a line to allow ftp to be able to be accessed via Tor:

HiddenServicePort 21 127.0.0.1:21

Then try to access it: torsocks ftp myonionxyzabc.onion.

I would suggest doing this the first time in a temporary VM and not with your other onion services. That way you can do your own testing without harming your onion services. If you see someplace where your IP is given away, stop the Tor service immediately in the temporary VM and research the ftp server to see if there is a way around it or try another ftp server.

2
  • This will never work. tor.stackexchange.com/questions/4878/…
    – nobody
    Commented May 18, 2019 at 13:24
  • It does work technically in that you can set up your ftp site and login but it fails when you try to do anything with FTP because it is expecting more than just port 21. I'll reply again if I find another way.
    – elmerjfudd
    Commented May 19, 2019 at 12:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .