Jan Tiggy wrote:
Sylvester schreib/napisał or just enlightened us thusly:
You can define the range ports which are used to establish passive connections by defining "PassivePorts" in the configuration file (likely to be /etc/proftpd.conf)
Add/modify this line to suit your needs: PassivePorts 65525 65530
Open appropriate ports in your firewall, and restart proftpd.
Well those are outbound ports you are talking about.
No.
Thus AFAIK no way to open them up in Yast itself.
He never mentioned if it was susefirewall. Anyway, those are inbound; When the client sends "PASV", the server responds by opening a random (or configured by PassivePorts) port. Referring to this port as "$P". The server then sends "PORT $P" back to client, which then connects to the server on port $P. That is passive mode as far as I understand.
Nevertheless, there is a switch in the susefirewall config file so you can use them though. However, IMO the easiest way to run a ftp in the passive mode is to put the word 'ftp' instead of a 'specific port' into yast2 firewall configuration.
-- Jan
If I can do it, then it ain't that hard at all.
Best regards Sylvester -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org