Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

FTP on redhat 7.2

  • 03-09-2002 5: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