Re: ftp connection tracking on multiple ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I did that before posting to the list.
Now I doubt it is a networking problem !!! there are reasons to doubt.


On Thu, 28 Oct 2004 08:41:29 -0400, Jason Opperisano <opie@xxxxxxxxxxx> wrote:
> On Thu, 2004-10-28 at 06:18, Mohamed Eldesoky wrote:
> 
> 
> > Dear all,
> >
> > I have a server that runs FTP on two ports, port 21 and port 45 (for
> > strange reasons)
> > Now, i want conntrack to track the connections of both ports and their
> > data ports !!
> >
> > I did that in my firewall script
> > /sbin/modprobe ip_conntrack_ftp ports=21,45
> > $IPTABLES -A linweb_chain -p tcp -m multiport --destination-port
> > 80,21,45 -j ACCEPT
> >
> > Is that all I need ??
> 
> iptables -A linweb_chain -m helper --helper ftp -j ACCEPT
> 
> -j
> 
> --
> Jason Opperisano <opie@xxxxxxxxxxx>
> 
> 


-- 
Mohamed Eldesoky
www.eldesoky.net
RHCE


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux