LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-10-2007, 07:27 AM   #1
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
Blocked FTP port 21, Why?


Hi guys,
Now this is really annoying cuz i cant ftp my server. My firewall is disabled (bad idea though) and i have opened the ports via iptables.
Am running red hat 9 AS.
 
Old 07-10-2007, 08:09 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Are you able to connect via localhost? Does your ISP block incoming FTP? Is there another firewall/router between your box and the WAN?
 
Old 07-10-2007, 08:34 AM   #3
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Original Poster
Rep: Reputation: 32
yeah its between two machines on the same network and theres no ISp in between. I can connect on localhost
 
Old 07-10-2007, 08:49 AM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Does the connecting client have firewall turned off? If on, is the firewall configured to allow related connections for passive FTP? Are you seeing any connection errors on console or in logs?
 
Old 07-10-2007, 12:57 PM   #5
michaelnel
LQ Newbie
 
Registered: Apr 2005
Location: San Francisco, California
Posts: 12

Rep: Reputation: 0
tcpwrappers issue maybe? Check /etc/hosts.deny
 
Old 07-11-2007, 01:43 AM   #6
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Original Poster
Rep: Reputation: 32
Well both machines have their firewalls disabled and they both are not in /etc/hosts.deny.
I just cant figure out why i cant transfer files from one of the machines.
is there a second party ftp client i could probably use?
 
Old 07-11-2007, 01:57 AM   #7
haxpor
Member
 
Registered: Dec 2006
Distribution: Ubuntu 9.10
Posts: 86

Rep: Reputation: 15
It might be about Passive and Active FTP setting.

In active, your FTP server is the a boss that will connect back to client with the port depend on what port which client connect for the first time. This usually block by a firewall of the client side.

In passive, your client instead is a boss, that will connect to ftp server with random port depend on what port server generate and send back to client. This can solve the problem in active setting but give you more configuration for the server side to allow the range of incoming ports from client, that let you to set for FTP's configuration file also to generate that range of port.

Link to more description about Active VS Passive FTP

See the document or man page to find how to config FTP.

Hope that help.
 
  


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
FTP port blocked on Debian (sarge) thatguy0 Linux - Software 12 02-22-2007 01:27 PM
Why is my port 25 still blocked jfaberna Linux - Security 8 02-21-2006 10:46 PM
SSH help/blocked port YellowFin Linux - Networking 2 09-29-2005 04:25 PM
tftp port blocked? abalmos Linux - Newbie 4 06-09-2005 10:35 AM
blocked port 80 squi Linux - Newbie 1 09-19-2003 09:57 AM


All times are GMT -5. The time now is 01:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration