From: "Robert Gabriel" Date: Tue, 09 May 2006 13:58:40 +0000 Subject: Re: [LARTC] Route by destination port? 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 Thanks! Much appreciated. On 09/05/06, Erez D wrote: > somthing like: > > iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 5 > ip rule add fwmark 5 table 50 > ip route add table 50 $isp dev ppp0 > > erez. > > > On 5/9/06, Robert Gabriel wrote: > > > Hello all, > > We have two ADSL lines configured on a single box, hence interfaces ppp0 & > ppp1. > > Is there a way to route packets to ppp0, say based on destination port > 80 & other traffic like voice through ppp1? > > Thanks. > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc