celzero / docs

API, Manual, Tutorial for RethinkDNS + Firewall
https://docs.rethinkdns.com
Mozilla Public License 2.0
31 stars 24 forks source link

how to configure for an FTP server? #20

Open muellerto opened 5 months ago

muellerto commented 5 months ago

I want to use an app which provides an FTP server like primitive ftpd or MiXplorer.

An FTP server opens at least one port for submitting the FTP commands to the server and to return some outputs to the client and also a range of ports for the desired file transmissions.

How to configure the Rethink firewall for that?

I made an IP/Port rule for individual bypassing, my input was *.*:2121 which gets then displayed as 0.0.0.0/0:2121. Is this right? It doesn't seem to work, my FTP client can't connect. I also tried 127.0.0.1:2121 and 192.168.0.113:2121 without success.

What to do? And what about the range of ports for file transmission? I don't know this range at all.

What I see is when I stop RethinkDNS the ports are open and I can indeed connect an FTP client. So the closed ports are really in Rethink's responsibility.

A variant would be the use of FTP over SSH, which uses only one constant port and not a range of ports. But even this one port would need a firewall rule.

muellerto commented 1 month ago

(does someone read this???)

Update: the problem is the same when you try to configure a WebDAV server on the phone. I want to open port 8080 - how? Even a complete universal bypass for the app doesn't open this port. I must stop Rethink, then it works.