Date: Fri, 6 Oct 2000 21:19:46 -0700 From: "Crist J . Clark" <cjclark@reflexnet.net> To: achilov@granch.ru Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: Where I was wrong? Message-ID: <20001006211946.O25121@149.211.6.64.reflexcom.com> In-Reply-To: <39DDFB0B.22E04412@sentry.granch.ru>; from shelton@sentry.granch.ru on Fri, Oct 06, 2000 at 11:17:15PM %2B0700 References: <39DDFB0B.22E04412@sentry.granch.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 06, 2000 at 11:17:15PM +0700, Rashid N. Achilov wrote: > I have a some FreeBSD box, connected to two different ISPs and my own > private network. For example first ISP is 10.0.0.0/24, second > 10.0.1.0/24 and my own network is 10.0.2.0/24, and FreeBSD router has: > 10.0.0.1 to first ISP (10.0.0.2 other side, interface fxp0), 10.0.1.1 to > second (10.0.1.2 other side, interface rl0) and 10.0.2.1 to private > (interface ed0). My box in private is 10.0.2.2 and there are some other > Windozes... > > Default gateway to all is 10.0.1.2 (second ISP other side) > > I wish I could forward all traffic from 10.0.2.2 to first ISP. I made > this rule: > > ipfw add 100 fwd 10.0.0.2 ip from 10.0.2.2 to any out xmit rl0 The 'fwd' command probably does not do what you think. Read ipfw(8) again. I don't understand what you want to do when you say you wish to 'forward all traffic to the first ISP.' Are we just talking about routing here? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001006211946.O25121>