ftp trouble (3) - routing?

From: Robert Slade (robert_at_bathnetworks.com)
Date: 11/21/04

  • Next message: Sharon Kimble: "saved into the mbr"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 21 Nov 2004 14:52:37 +0000
    
    

    I'm still having problems with vsftpd and FC2. The machine running
    vsftpd has 2 NIC's:

    etho 192.168.0.55 netmask 255.255.255.0
    eth1 xxx.xxx.xxx.253 netmask 255.255.255.248

    Where the 192 address is on my internal network and the xxx address is
    an external IP.

    The routing table is:

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    xxx.xxx.xxx.248 0.0.0.0 255.255.255.248 U 0 0 0 eth1
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
    0.0.0.0 xxx.xxx.xxx.250 0.0.0.0 UG 0 0 0 eth1

    The xxx.xxx.xxx.248 address is my ISPs gateway and xxx.xxx.xxx.250 is my
    router/gateway. The NAT and Firewall are both off on the router/gateway.
    The routing table is identical to that of my mail server which works.

    The problem is that when I connect to the ftp server via the 192 address
    from another machine on the internal network, both passive and active
    modes work and I can upload and download files.

    Connecting to the external IP address of ftp server from a machine on
    the internal network, passive mode works, but active mode hangs:

    230 Login successful.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> ls
    227 Entering Passive Mode (xxx,xxx,xxx,253,58,83)
    150 Here comes the directory listing.
    drwx------ 3 500 500 4096 Oct 31 17:23 Desktop
    drwxr-xr-x 2 500 500 4096 Nov 05 18:29 test
    226 Directory send OK.
    ftp> passive
    Passive mode off.
    ftp> ls
    200 PORT command successful. Consider using PASV.
    150 Here comes the directory listing.

    receive aborted
    waiting for remote to finish abort
    426 Failure writing network stream.
    225 No transfer to ABOR.

    I get similar results when connecting from an external machine, in this
    case it is a Windows XP machine, using FTP then ls at a command window
    gives

    200 PORT command successful. Consider using PASV.
    150 Here comes the directory listing.

    and then it hangs which implies that neither passive or active mode
    works.

    I have eliminated the firwall on the FTP server as the problem by
    turning off iptables.

    As an aside, my local network is behind a firewall (smoothwall) which is
    using the external address of xxx.xxx.xxx.251.

    I need to be able to use active mode as some of the users can only use
    this method.

    Sorry about the length of this post, but I am totally stuck.

    Rob
     

     

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Sharon Kimble: "saved into the mbr"

    Relevant Pages

    • RE: FTP Client issues
      ... when I use FileZilla or smartFTP, ... 227 Entering Passive Mode. ... > after logging on the FTP server: ... > | Thread-Topic: FTP Client issues ...
      (microsoft.public.windows.server.sbs)
    • Re: FTP on IIS6.0 Not Working
      ... can you login via ftp.exe to your IIS server? ... >From a remote machine using ftp.exe I can login and it accepts my password. ... (that's without passive mode checked...with passive mode checked it just ... server seem to indicate that I successfully logged in to ftp, ...
      (microsoft.public.inetserver.iis.ftp)
    • Odd ftpd Problem
      ... My ftpd server fails when requesting passive mode from an internet client, ... I have a separate multi-homed server for the network firewall. ... except for the ftp passive mode. ...
      (linux.redhat.misc)
    • Re: FTP server behind a PF firewall (including NAT)
      ... > Thank you, but I have a working PF configuration for FTP clients, both ... > for active and passive mode. ... > this firewall) that allows both active mode and passive mode clients. ... > Active-mode transfers are the easiest (again, allow connections to all ...
      (comp.unix.bsd.freebsd.misc)
    • FTP problem
      ... No matter where I am i can connect to it using ftp... ... this error no matter what i try except for certain commands such as ... I have 2 use passive mode cuz both networks are behind routers with NAT ...
      (comp.unix.bsd.freebsd.misc)

    Loading