Welcome, Guest
Please Login or Register.
Lost Password?
Re:Passive FTP setup (1 viewing)
Post Reply

TOPIC: Re:Passive FTP setup

#15939
bhm8hwcm (User)
Posts: 17
graphgraph
Passive FTP setup 2008/08/26 21:11  
I am trying to get passive FTP setup but am not having luck.

I have added the following to the proftpd config file:
PassivePorts 49152 65534

Doe it matter where exactly I put the above directive?

I am behind a nat so I opened up the ports 49152-65534.

Is there anything else I am to do? It does not work. Using PORT works fine.
  The administrator has disabled public write access.
#15941
Joe (Admin)
Posts: 4082
graph
Re:Passive FTP setup 2008/08/26 22:34  
Your NAT device also needs to know about passive FTP. If it's Linux, that'd be the ip_conntrack_ftp kernel module.

modprobe ip_conntrack
modprobe ip_conntrack_ftp
  The administrator has disabled public write access.
#15950
bhm8hwcm (User)
Posts: 17
graphgraph
Re:Passive FTP setup 2008/08/27 06:25  
I am actually just behind a NAT router and have set up port forwarding there. Linux firewall is turned off.
  The administrator has disabled public write access.
#15951
andreychek (Moderator)
Posts: 585
graphgraph
Re:Passive FTP setup 2008/08/27 06:35  
Howdy,

The FTP server itself may need those two ip_conntrack modules Joe mentioned loaded as well.

If you run those two modprobe commands on it ("modprobe ip_conntrack" and "modprobe ip_conntrack_ftp"), does that help?
-Eric
  The administrator has disabled public write access.
#15964
Joe (Admin)
Posts: 4082
graph
Re:Passive FTP setup 2008/08/27 15:39  
I am actually just behind a NAT router and have set up port forwarding there. Linux firewall is turned off.

Are you sure that device supports passive FTP through its NAT? Not all routers do.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.