Re: [opensuse] proftp passive mode, on which port?



Hans Linux wrote:
i always have bad experience with my proftp server. i have it running
but i can't transfr any data. Everytime it always stuck at "Entering
passive mode" for a long time and then timeout. But if I disable the
firewall, it works well. So which port of firewall should i open? I do
some googling and find out port 30000-30050 or 60000-65535, but it
didn't work.

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.

Best regards
Sylvester
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: iptables, ftp and dnat?
    ... now except how to get the iptables data connection in passive ... ftp server is running on another machine behind my firewall. ... - did you open up the data port (this is ... PassivePorts MasqueradeAddress <wan IP ...
    (Debian-User)
  • Re: [opensuse] proftp passive mode, on which port?
    ... connections by defining "PassivePorts" in the configuration file ... the server responds by opening a random (or configured by PassivePorts) port. ...
    (SuSE)
  • Re: iptables, ftp and dnat?
    ... mode working. ... did you open up the data port? ... did you open some ports for the passive connection? ... PassivePorts <range> ...
    (Debian-User)
  • Re: keeping ports open
    ... If a port is open, it means that 1) a software or service is running on your ... and 2) you're not using a firewall or your firewall isn't ... Use firewall software and hardware and antivirus software that is ... Follow the instructions for hardening Windows and IIS at ...
    (microsoft.public.security)
  • Re: How to Maintain an IIS Server?
    ... > server running on a Windows 2000 server. ... before a firewall and antivirus have been installed]. ... open ports; however, this will not identify which program is using the port. ...
    (microsoft.public.inetserver.iis.security)