Bluehost.com Web Hosting $6.95

enabling FTP passive mode?

This is a discussion on enabling FTP passive mode? within the Linux Networking forums, part of the Linux Forums category; Normally I use SSH to x-files, but I have one remote tool that needs to send a periodic file ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2004
LRW
 
Posts: n/a
Default enabling FTP passive mode?

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
  #2 (permalink)  
Old 02-03-2004
Cameron Kerr
 
Posts: n/a
Default Re: enabling FTP passive mode?

LRW <deja@celticbear.com> 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
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!
Reply With Quote
  #3 (permalink)  
Old 02-04-2004
John Doe
 
Posts: n/a
Default Re: enabling FTP passive mode?

In article <3a1d1813.0402021252.10ea7e70@posting.google.com >, 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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0