LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2005, 04:30 AM   #1
carlp
LQ Newbie
 
Registered: Jun 2005
Location: England
Distribution: Debian, Slackware, EnGarde, Ubuntu!
Posts: 7

Rep: Reputation: 0
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?
 
Old 08-18-2005, 09:38 AM   #2
MassDosage
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Kubuntu
Posts: 75

Rep: Reputation: 15
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
 
Old 08-18-2005, 10:12 AM   #3
carlp
LQ Newbie
 
Registered: Jun 2005
Location: England
Distribution: Debian, Slackware, EnGarde, Ubuntu!
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 08-18-2005, 10:21 AM   #4
MassDosage
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Kubuntu
Posts: 75

Rep: Reputation: 15
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!)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No route to host Airwaves Linux - Networking 2 11-04-2005 07:15 AM
no route to host vito_huang Linux - Newbie 6 06-14-2005 09:10 AM
Can't host server with firewall, but can with router, could use help please calimer Linux - Software 2 03-01-2005 09:15 PM
no route to host PenguinHead Linux - Networking 9 02-02-2005 02:03 PM
Problem with exporting/firewall , RPC: No route to host pinguscot Linux - Networking 1 11-05-2004 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration