Tib wrote:
I am trying to setup an ftp service on a non-standard port (42), and had
initially encountered information that I may have to recompile the module
entirely.
Then I saw information saying that I could specify port arguments on the
insmod command (ie. insmod ip_conntrack_ftp ports=xx,yy,zz).
I'm on debian with iptables 1.2.11 installed - which of the above is true?
I tried using the insmod command with arguments and got no errors in
response, but the module didn't appear to work. Is it possible (if
necessary) to recompile just the module or will I have to redo my whole
kernel just for a single file or two?
<EOL>
Tib
Even though you're using port 42, you still need to specify port 21 for
it to work correctly.
For example, "insmod ip_conntrack_ftp ports=21,42
Also, if you don't have at least kernel 2.6.11 , you'll also need to
"insmod ip_nat_ftp ports=21,42" as well.
I hope that helps you out.
Pablo