Running openbsd 6.9 stable here

I am not able to use a pf rule using route-to/reply-to with an ipv6  linklocal address.
example:
pass out inet6 route-to fe80::abcd%em0

The syntax is valid and therefore is accepted but the "%em0" is striped out when config is pushed.

The packets are not pushed through the interface linked to the link local address like expected.

bypass measure :

Add a static route using the link local address which can latter be used with pf
#route add -inet6 2001:db8:0::abcd fe80::abcd%em0
in pf :
pass out inet6 route-to 2001:db8:0::abcd

This works like a charm.


Has anyone experienced this behavior ? Is it a bug ?


Reply via email to