Networking Forums

Networking Forums > Computer Networking > Linux Networking > enabling FTP passive mode?

Reply
Thread Tools Display Modes

enabling FTP passive mode?

 
 
LRW
Guest
Posts: n/a

 
      02-02-2004, 07:52 PM
Normally I use SSH to x-files, but I have one remote tool that needs
to send a periodic file to a machine and it's only choice is FTP.
So, I set up the Linksys router to port forward 21 to the receiving
PC, but whenever I try to FTP into it, I get the message:

227 Entering Passive Mode ((IP number),163,252)
LIST -aL

425 Security: Bad IP connecting.

I know it has something to do with allowing passive mode through the
firewall, but how? I've no clue?
Even just a pointer would be nice.
Oh, and I'm using RedHat Fedora 1 if that matters.

Thanks!
Liam
 
Reply With Quote
 
 
 
 
Cameron Kerr
Guest
Posts: n/a

 
      02-03-2004, 02:26 AM
LRW <(E-Mail Removed)> wrote:
> Normally I use SSH to x-files, but I have one remote tool that needs
> to send a periodic file to a machine and it's only choice is FTP.
> So, I set up the Linksys router to port forward 21 to the receiving
> PC, but whenever I try to FTP into it, I get the message:


> 425 Security: Bad IP connecting.


You may also need to open up the ftp-data port, although stateful
firewalls should do this anyway (if they have the
application-layer-protocol ftp connection tracking, such as the
ip_conntrack_ftp).

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
John Doe
Guest
Posts: n/a

 
      02-04-2004, 08:35 AM
In article <(E-Mail Removed) >, LRW wrote:
> Normally I use SSH to x-files, but I have one remote tool that needs
> to send a periodic file to a machine and it's only choice is FTP.
> So, I set up the Linksys router to port forward 21 to the receiving
> PC, but whenever I try to FTP into it, I get the message:
>
> 227 Entering Passive Mode ((IP number),163,252)
> LIST -aL
>
> 425 Security: Bad IP connecting.


You need some kind of ftp_connection_tracking module of some kind if you
are port forwarding FTP requests since the port command will need
modifying by the firewall so that it contains the modified address.

Does Linksys support FTP connection tracking?

HTH,

Fluffy

--
woof woof
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP / Cisco / Passive mode Confusion / Clarification @Amp@@ Windows Networking 1 12-28-2005 09:39 AM
FTP Weirdness, now need passive mode for just one user Mkez1 Windows Networking 0 09-30-2005 02:15 PM
FTP passive mode on Win98 FTP client Luca Windows Networking 1 12-20-2004 10:48 AM
Configuring ProFTPD for passive mode D. Alvarado Linux Networking 1 10-11-2004 08:26 AM
Passive mode . Wireless Internet 10 02-05-2004 01:58 AM



1 2 3 4 5 6 7 8 9 10 11