From owner-freebsd-isp Wed Nov 14 21:58:29 2001 Delivered-To: freebsd-isp@freebsd.org Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by hub.freebsd.org (Postfix) with ESMTP id 043BC37B417 for ; Wed, 14 Nov 2001 21:58:25 -0800 (PST) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 164F0p-0006ac-00; Wed, 14 Nov 2001 21:24:31 -0800 Date: Wed, 14 Nov 2001 21:24:29 -0800 (PST) From: Tom Samplonius To: John Brooks Cc: 'Blake Crosby' , freebsd-isp@freebsd.org Subject: RE: Source Based Routing In-Reply-To: <000401c16d99$8ef79a60$1505010a@daylight.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The issue is for incoming SMTP. Incoming mail connections go to the DSL IP. Problem: Return traffic gets routing via the routing table, so which gateway (DSL or Cable) do you point your default route to? If you point to Cable, your responses won't get back to the SMTP sender and you will get no e-mail. If you set it to the DSL gateway, STMP receiving will work, but you won't use the Cable link at all. Answer: ipfw fwd. The problem and the solution are both FAQs. Tom On Wed, 14 Nov 2001, John Brooks wrote: > I'm curious, besides spamming, why would you want to do this? How much > outbound SMTP does it take to make it "cheaper"? > > -- > John Brooks > Email: john@stlbsd.org > > -----Original Message----- > From: owner-freebsd-isp@FreeBSD.ORG > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Blake Crosby > Sent: Wednesday, November 14, 2001 11:31 PM > To: freebsd-isp@freebsd.org > Subject: Source Based Routing > > > I'm sorry if this is off topic, nor is directed at the wrong list. > > I have cable and DSL. I want to use cable for most of my traffic, as it > is cheaper. But I want to use DSL for incoming SMTP connections, > because DSL provider allows me to run an SMTP server (cable provider > forbids it) and gives me a permanent IP. I don't want to have to use > someone else's mail server as a gateway to mine. > > The cable provider will not let me send packets back to the Internet > with the source address of my DSL IP. This causes a problem when a > remote site tries to connect to DSL IP port 25, but the reply packets > get sent out the default route of cable. > > How can I make packets for a TCP connection from the DSL IP, go out the > DSL interface, no matter what the IP of the other end of the TCP > connection is? > > There used to a be a FreeBSD port called brouted which I think might let > me do it, but I can't find it anywhere now (apparently it had security > flaws). > > > Blake Crosby > dev@samurai.com > http://www.blakecrosby.com > > "It's good to see that you haven't > lost your talent for saying something > so completely outrageously false > it defies any possible retort." > - Mike Hodnett > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message