Re: [conntrack_ftp] ftp _server_ behind dnat

Pascal Hambourg <[email protected]>
Newsgroups gmane.linux.network.general
Organization Plouf !
Message-ID <[email protected]>
Hello,

Klaus Ethgen a écrit :
> 
> I recently played around a new FTP server on KVM host which is connected
> via DNAT from the main host.
> 
> Now I was thinking that the conntrac_ftp and nat_ftp module is the
> correct one to configure it correct. But after several tests and finally
> reading the source code of conntrac_ftp I find out that this bunch of
> logic only match for a _client_ behind nat (SNAT) using active FTP.
> 
> So am I right that there is no module out there that supports passive
> FTP server behind DNAT?

What is your kernel version ?
IME, nf_conntrack_ftp and nf_nat_ftp handle both passive and active
modes. Briefly looking at the code, I can see mentions of PASV (standard
passive), EPSV (extended passive), PORT (standard port) and EPRT
(extended port).

Maybe the netfilter list is a better place to ask.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.