[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

active ftp vs passive ftp

if i have a server behind a firewall and i am doing one to one nat, do i setup active ftp or passive ftp?
0
Kylo Ren
Asked:
Kylo Ren
2 Solutions
 
Gajendra RathodCommented:
Use active FTP when the ftp server is  behind a firewall, router, or NAT device.

Active mode   : secure FTP server

Passive mode : less configuration changes on the Client's side.
0
 
FrabbleCommented:
The difference between active and passive is that active has the client return an IP address and port that the server connects to for the data transfer, while passive has the server respond with an IP address and port that the client connects to.

In hosting an FTP server I believe you should be able to support clients connecting in either mode, bearing in mind that some client side setups require them to use passive only.

For your side, it depends if your firewall has FTP support, either as an application layer gateway (ALG) or proxy, if it does, then using NAT shouldn't be a problem.
Otherwise, for active mode you just need to allow all outgoing connections and for passive mode you will want the server to give the public address to the client and use a set range of ports to listen on which are port mapped on the firewall to the server.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now