Re: NPF Policy based routing based on interface

[email protected] (Michael van Elst) Fri, 27 Mar 2026 14:15:53 -0000 (UTC)
Newsgroups gmane.os.netbsd.devel.network
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (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.