tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NPF Policy based routing based on interface




> On 27 Mar 2026, at 2:15 PM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> 
> emmankoko519%gmail.com@localhost (Emmanuel Nyarko) writes:
> 
>> i got access to code rmind@ started on NPF routing on interface and i =
>> have completed it and I want to commit it on Monday.
>> attached is a diff of the work for review.
> 
> looks a bit similar to my code that does the same (except for
> fragmenting).
> 
> 
> E.g.:
> 
> procedure "via-fast" {
>        route: "iface" rge0, "via" "192.168.0.3", "dup" "true"
> }
> 
> group ... {
>     pass ... apply "via-fast"
> }
> 
> would be equivalent to dup-to rge0:192.168.0.3 in ipf.
> 

Oh okay, 

so it allows you to introduce a next-hop and also duplicate the packet. 

i will be committing what i have today and also update the man page. 
then we see how you can essily add the patch for “via” and “dup”

Emmanuel







Home | Main Index | Thread Index | Old Index