News: This forum is now permanently frozen.
Pages: [1]
Topic: access a nat ftp server using pasv mode, ftp client get internal lan ip address  (Read 4019 times)
« on: November 10, 2008, 17:24:00 »
l.perenzin *
Posts: 1

I do have an FTP server behind a Monowall firewall, the FTP Server is on the LAN Network, the FTP Client should access the ftp server from internet, pointing to the public static ip address, the connection work fine up to the succesfully end of the logon process, then when the FTP Server enter into "PASV mode" the ip address that arrive to the ftp client is the LAN (private) FTP IP address, not the Public IP address of the monowall wan interface.
 
I configured a NAT Inbound (PAT) for port 21 mapped to the internal IP address of the FTP Server, and a second PAT in the range of the "ephemeral ports"
(49152 - 65535) again mapped to the internal ip address of the FTP Server.

Are there anybody that could help me ?
 
Best regards                     Luciano Perenzin
             
« Reply #1 on: November 10, 2008, 19:19:31 »
ChainSaw
Guest

your FTP server should have a place to configure your servers public IP and the passive port range to use.   Also,  I would narrow the port range to something like 50200-50215.  If you have lots of concurrent connections you will need to increase that range.

CS...
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines