lkml.org 
[lkml]   [2000]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ip_nat_ftp and different ports
On Sun, 3 Dec 2000, Taco IJsselmuiden wrote:

> Hi,
>
> I'm having trouble masquerading ftp-ports other than 20/21.
> For some service i'm using, i need to masquerade port 42,43,62,63 for FTP
> (I know it's weird...).
> Now, when using 2.2.x kernels i could use
> 'insmod ip_masq_ftp ports=21,41,42,62,63'
> but using 2.4.0-testx the 'ports=' parameter doesn't seem to work for
> ip_nat_ftp.
> Is there any other param I should use (couldn't find it in the docs ;(( )

There is a ftp-multi patch that you can apply to get this working

download iptables-1.2 and run 'make patch-o-matic' and apply the ftp-multi
patch and recompile the ftp module... you're done.

/Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:51    [W:0.037 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site