Could Nginx stream support FTP PASSIVE?

Richard Stanway r1ch+nginx at teamliquid.net
Thu Dec 3 15:05:50 UTC 2015


Passive ports are dynamically allocated, so FTP with the stream module is
unlikely to work at all.

On Thu, Dec 3, 2015 at 7:10 AM, Felix HT1 Zhang <zhanght1 at lenovo.com> wrote:

> Dears,
>
> Could Nginx stream support FTP PASSIVE?
>
>
>
> #er  nobody;
>
> worker_processes  4;
>
>
>
> #error_log  logs/error.log;
>
> #error_log  logs/error.log  notice;
>
> #error_log  logs/error.log  info;
>
>
>
> #pid        logs/nginx.pid;
>
>
>
> events {
>
>     worker_connections  1024;
>
> }
>
>
>
> stream
>
> {
>
>    upstream port21
>
>    {
>
>       server 10.122.x.x:21 weight=1;
>
>       server 10.122.x.xx:21 weight=1;
>
>    }
>
>    server
>
>    {  listen 21;
>
>       proxy_connect_timeout 60;
>
>       proxy_pass port21;
>
>    }
>
> }
>
> BR
>
> Felix zhang
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151203/60a623af/attachment.html>


More information about the nginx mailing list