Date: Thu, 22 Jan 1998 14:18:26 +0100 From: "Stefan Bethke" <stefan@promo.de> To: "John M Vinopal" <banshee@abattoir.com>, hackers@FreeBSD.ORG Subject: Re: routing by protocol Message-ID: <389863.3094467506@stefan.promo.de>
next in thread | raw e-mail | index | archive | help
--On Don, 22. Jan 1998 3:01 Uhr -0800 "John M Vinopal" <banshee@abattoir.com> wrote: > What I'd like to do is redirect all outgoing requests to WWW servers > to go out the isdn line. Ie: rdr 0.0.0.0:80 -> tun1. I've thought > of a number of ways to do this; all are horrible hacks. > > * have an external proxy server with a static route through the proper > interface. Actually, this what I use at home. > * dedicate a seperate machine as a proxy server internally with a default > route out. This has the added advantage of letting you fetch any http or ftp url through the ISDN line, not only port 80. You could also bind your squid's outgoing ports to tun1, so that outgoing traffic will take the default route (through the leased line), but incoming will go to tun1's address, and thus will go through the ISDN line. Because you'll probably will receive more than you send, and http requests are usually quite small, this should work quite nicely. (As long as you are not afraid of asymmetric routes :-) At least, this doesn't require any hacks. Stefan -- Stefan Bethke Promo Datentechnik | Tel. +49-40-851744-18 + Systemberatung GmbH | Fax. +49-40-851744-44 Eduardstrasse 46-48 | e-mail: stefan@Promo.DE D-20257 Hamburg | http://www.Promo.DE/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?389863.3094467506>
