Adicionei a linha abaixo.

/usr/local/bin/redir --lport=20 --cport=20 --caddr=192.168.0.251

Habilitei o modo passivo, veja o retorno:

~ Connecting...
~ Connected to XXX.XXX.XXX.XXX, waiting for response...
< 220 192.168.0.11 FTP server ready
> USER XXX
< 331 Password required for XXX.
> PASS *****
< 230 User XXXlogged in.
> REST 1
< 350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer
> REST 0
< 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
> SYST
< 215 UNIX Type: L8
> PWD
< 257 "/" is current directory.
~ Login completed.
> PASV
< 227 Entering Passive Mode (192,168,0,1,128,12).
> TYPE A
< 200 Type set to A
> LIST
! Socket Error: no connection 
~ Could not retrieve directory listing for "/"
~ Disconnected

Obrigado !

-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a