Re: [SLE] susefirewall2 and ftp



wavesurf@xxxxxxxxx wrote:
Maby you will look here to see what the problem is;

[gerritjanftp] FTP response: Client "123.123.123.123", "227 Entering Passive
Isn't that the key?  You are using passive mode.  I must be missing something
here.  I have been using vsftpd for a few years with SuSE and never had this
much trouble.  I too have two NICs and am using SuSEfirewall2 to make the
computer a NAT router for my home net and even in a lab at work.  Like you
I am using vsftpd.  I am certainly no ftp expert but I believe that passive
mode uses other high ports and I think I remember they are randomly selected.
For that reason I use ftp only in active mode in order to avoid that issue
with the firewall.  You are getting connected so the firewall is letting you
use the port 21.  I have no idea how to get the firewall to deal with the
other high ports used for passive so that is why I stayed with the active
mode.  With some clients that I use, I have to set the option for active
mode only.

As a side point, I haven't seen anyone mention tampering with
/etc/sysconfig/SuSEfirewall2.  That's where I always go to tamper with
things not covered by YaST

Damon Register

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • RE: ftp trouble (3) - routing?
    ... > I'm still having problems with vsftpd and FC2. ... Perhaps your smoothwall is not set up to proxy active mode FTP. ... Traceroute to your FTP gives a response from D-Link with address ...
    (Fedora)
  • Re: Why would it appear to my scripts that a server theyre connecting to has gone away (using Net::F
    ... For example, the ftp server is ... firewall and from the machine running my script. ... "passive mode" the server expects a connection from the client). ... log file snippet suggests that you are using active mode and that the ...
    (comp.lang.perl.misc)
  • Re: FTP using Active Mode
    ... Now can anybody tell me how to connect Server in Active Mode. ... Once you have mastered how the FTP protocol works (and what you firewall ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Cant ftp from Linux box to windows-server - setsockopt
    ... It seems like you've got some restritive firewall issues going on between ... If active mode works from a different machine, ... server chooses from for passive mode connections. ...
    (microsoft.public.inetserver.iis.ftp)