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:[EMAIL PROTECTED]] > Sent: Wednesday, June 26, 2002 4:41 PM > To: Matt Impett > Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > 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 <[EMAIL PROTECTED]> USC Information > Sciences Institute > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message