Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

FTP on redhat 7.2

  • 03-09-2002 06:00PM
    #1
    Registered Users, Registered Users 2 Posts: 1,481 ✭✭✭


    Hi,
    I have a Linux box running RedHat 7.2, and I just installed the wu-ftp 2.6 daemon on it. Now it works fine if I ftp localhost from it - I can connect, u/l d/l etc. But when I try to ftp to it from another machine on the network, it won't let it connect. Now telnetting from another machine works just fine, and the box has net access, so it's not the network connection, it's something to do with the wu-ftp server. I just don't know what :(

    A tcpdump shows that whenever an outside box attempts to ftp, the RH box gives "icmp: tcp port ftp unreachable [tos 0xc0]".

    Can anyone shine some light on this? I'm not all that familiar with Linux so I'm kind of floundering around config files and not getting very far at all. Any help much appreciated.

    J


Comments

  • Closed Accounts Posts: 65 ✭✭wintermute


    I think the problem may not be with wu-ftp but rather with the default firewalling configuration of RH 7.2 As far as I know, the product ships with the IPCHAINS packet filtering utility pre-configured to drop a whole host of inbound protocols by default.

    To check this, execute "ipchains -L" as root. This should display a list of filtered ports - and I suspect that FTP is in there somewhere.

    Stop the firewalling and see if you can FTP (a reboot will re-enable the firewall):

    cd /etc/rc.d/init.d
    ./firewall stop

    If you can now FTP then the firewalling script is the problem.

    Restart the firewall by either rebooting or keying:

    ./firewall start

    If the firewall is the problem, your options are to either totally disable the firewalling or edit the firewalling config to permit FTP.

    Since you state that you are unfamiliar with Linux and for all I know this box could be live on the Internet, I shall not instruct you on how to do either!

    Hope this helps.


  • Registered Users, Registered Users 2 Posts: 1,481 ✭✭✭satchmo


    wintermute, you're a genius! That was it alright. I thought it might be something to do with the firewall alright, but I'm buggered if I could find where exactly. Time to go read up on ipchains!

    I'm on a LAN behind a firewall, so I'm not too worried about security for the moment - it's for an OpenGL rendering cluster, so once I have everything transferred I'll be cutting it off again.

    Thanks man, you've saved me much gnashing of teeth and pulling of hair. :D


Advertisement
Advertisement