Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 01:47:46 -0700 (PDT)
From:      "Nielsen" <nielsen@memberwebs.com>
To:        "Matt Impett" <M.Impett@flarion.com>, "freebsd questions" <freebsd-questions@freebsd.org>
Subject:   Re: source address based routing
Message-ID:  <20020627084746.8313237B400@hub.freebsd.org>
References:  <8C92E23A3E87FB479988285F9E22BE46FDE777@ftmail.lab.flarion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Use ipf with the fastroute action. This lets you short circuit a packet to
an interface rather than an IP. Sounds closer to what you want to do.

HTH

Nate Nielsen

----- Original Message -----
From: "Matt Impett" <M.Impett@flarion.com>
To: "'Lars Eggert'" <larse@ISI.EDU>; "Matt Impett" <M.Impett@flarion.com>
Cc: <freebsd-net@freebsd.org>; <freebsd-questions@freebsd.org>
Sent: Wednesday, June 26, 2002 18:13
Subject: RE: source address based routing


> I have looked at the firewall rather exetensively, but I don't know that
it
> can do what I want.
>
> >From what I can tell, the firewall fwd functionality allows you to
redirect
> a packet to a different next hop based on any of the firewall matching
rules
> (one of which is source address).
>
> What I want to do, however, is redirect the packet to a tunnel (gif
device)
> that has no next-hop associated with it.  Is there any way to do this??
>
> thanks,
> matt
>
> > -----Original Message-----
> > From: Lars Eggert [mailto:larse@ISI.EDU]
> > Sent: Wednesday, June 26, 2002 4:41 PM
> > To: Matt Impett
> > Cc: 'freebsd-net@freebsd.org'; 'freebsd-questions@freebsd.org'
> > Subject: Re: source address based routing
> >
> >
> > Matt Impett wrote:
> > > I was wondering if it is possible to do pure source address
> > based routing
> > > under FreeBSD.  What I really want to do is route packets
> > from particular
> > > source addresses to tunnels (gif devices) regardless of
> > what the packet's
> > > destination address is.
> >
> > Firewall forwarding will do that, see ipfw (8), esp. the fwd action.
> >
> > Lars
> > --
> > Lars Eggert <larse@isi.edu>           USC Information
> > Sciences Institute
> >
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627084746.8313237B400>