LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   proftp server behind firewall (no route to host) (https://www.linuxquestions.org/questions/linux-software-2/proftp-server-behind-firewall-no-route-to-host-354483/)

carlp 08-18-2005 04:30 AM

proftp server behind firewall (no route to host)
 
HI,

Can anyone shed some light on this?

I've setup a proftp server on Debian behind a firewall on a private ip address. Set iptables to forward tcp 20,21 to the box. Connections from outside world are present with the banner, login and when they try anything it says

192.168.2.240
(No route to host)

Am i doing something wrong?

MassDosage 08-18-2005 09:38 AM

Any firewall on the client side that could be blocking it? Have you tried both active and pasv mode?

Here's a very good explanation of how the ports work and what ports need to be open on both the client and server in order for ftp to work:


http://slacksite.com/other/ftp.html

carlp 08-18-2005 10:12 AM

Quote:

Originally posted by MassDosage
Any firewall on the client side that could be blocking it? Have you tried both active and pasv mode?

Here's a very good explanation of how the ports work and what ports need to be open on both the client and server in order for ftp to work:


http://slacksite.com/other/ftp.html

Hi,

Thanks for your reply. I switched the FTP client into passive mode and it works.. YAY! Thank you so much for pointing this simple thing to me, i feel a n00b.. Ive been so busy I haven't been able to think

MassDosage 08-18-2005 10:21 AM

Heh, no worries, I've worked a lot on FTP systems and have seen soooooo many problems like this and I still have to stop and think about PASV versus ACTIV!

Could you push that "thanks" button that shows up under the post, I'm trying to figure out how that affects my profile (I'm also a Linux Questions newbie!)


All times are GMT -5. The time now is 12:33 AM.