Routing Question

Patrick Lamaiziere patfbsd at
Fri Aug 27 12:23:43 UTC 2010

Le Thu, 26 Aug 2010 18:17:19 -0700,
Doug Hardie <bc979 at> a écrit :

>  PF's route_to will return the packets to the proper router, but I have not
> been able to figure out which ones those would be.  The source IP
> address can be any on either network and its highly likely that we
> will see packets from the same source network on both at the same
> time.  The only distinction I see in the input packets between the
> two paths is the MAC address of the router.  I don't see any way in
> pf or the system to use that to affect the return path
> though.

the filter option "reply-to" looks to be what you need. It works by
keeping the state of a connection (see pf.conf(5)).

More information about the freebsd-questions mailing list