From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 21 Nov 2002 19:06:35 +0000 Subject: Re: [LARTC] Problem in advanced routing with FTP Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thursday 21 November 2002 16:07, Nuno Miguel Pais Fernandes wrote: > I have a router with 2 isp's connected. > > My default route is by isp1, and i mark packets to port 80 and port 21 > with mark 2. > > with: ip rule ls > > 0: from all lookup local > 32765: from all fwmark 2 lookup 200 > 32766: from all lookup main > 32767: from all lookup 253 > > and in table 200 i have the route by isp2. > > My http traffic goes well, but ftp doesn't. > Using Passive mode all works well, but with active it doest work, > because the ftp server callsback with port 20. You can use the iptables helper to mark all the ftp packets. Even the active ftp packets if they use a dynamic port. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/