LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ftp (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-7462/)

Sathe 10-11-2001 10:13 AM

Ftp
 
i'm trying to FTP to my ISP's webspace available for me from my workstation, i am going through a linux box to get connected to the internet. everytime i try to connect i get an invalid port error, i am using LeechFTP, i get the same error using IE (god help me). Am i missing something in my masq or ipforwarding?

trusouthrnplaya 10-11-2001 12:06 PM

It sounds like to me that u either 1) don't have ur ftp server running or 2) u have that port blocked.....My guess is that ur port is blocked might wanna check ur firewall configuration.

Sathe 10-11-2001 12:16 PM

echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -F
ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
ipchains -A forward -i ppp0-j MASQ

this is all i hae set up, no firewalling at all

ejtbrown 10-12-2001 02:42 PM

I had this very same problem connecting through my RH 6.0 server. What ended up fixing it was building a new kernel on the machine masqing the internet connection. In the networking section of the kernel configuration, one of the options for IP Masqerading can be turned on to allow the FTP port command to work. I don't remember off the top of my head which one it is, but you can read the Help on each of the options and figure it out.


All times are GMT -5. The time now is 07:24 AM.