Passive FTP Server

I’m pretty new to Opensuse so forgive me. I am trying to setup my ftp server to accept passive connections I got the active setup but now I am trying to figure out how do I find out which ftp server is install on 11.3 and where is the configuration file so that I can find out which ports I need to open in my firewall to allow passive connections. Thanks.

So I figured out I am using proftp. Now just looking for the config file that defines what ports are in use for passive connection.

From their docs: configuration file is proftpd.conf

For pasive mode: PassivePorts

Example here (for global allow): Using Passive FTP with ProFTPD

I think you can ignore the ipfilter changes but you need to open the port range you set in your suse firewall.

Cheers.

awesome. Thanks for the help got it working in a couple mins… beats scavenging for hours for something so simple.

On 2011-02-25 16:36, swilson2000 wrote:
>
> awesome. Thanks for the help got it working in a couple mins… beats
> scavenging for hours for something so simple.

A bit of documentation:

<http://en.wikipedia.org/wiki/Ftp>


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

One other question on the FTP server. I got everything working except any localhost connections from within the server. I’ve tried to connect using localhost, 127.0.0.1, and dedicated IP from within the server and several CMS sites I have moved over to the server and all the local host connections fail. Know what might be causing this?

Use the

netstat -an

command and see on which interfaces the ftp server listens. If You get confused by the output just post it here an we will help You out.

Other suggestion is to monitor firewall logs when you try to connect from within openSUSE and see what gets dropped. The command to do this is

sudo tali -f /var/log/firewall

Be sure You’ve got logging of dropped packets enabled (can be changed in YAST).

Best regards,
Greg

On 2011-02-25 20:36, swilson2000 wrote:
>
> One other question on the FTP server. I got everything working except
> any localhost connections from within the server. I’ve tried to connect
> using localhost, 127.0.0.1, and dedicated IP from within the server and
> several CMS sites I have moved over to the server and all the local host
> connections fail. Know what might be causing this?

No, because I use vsftpd which is different. But I would look at the daemon
configuration to see on which interfaces it responds.

As a work around, instead of using 127… in the client, use the IP address
of the local network. It goes internally, but it appears as external to the
ftp daemon.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)