Hello,

I have the following NAT64 rule in my pf.conf

pass in quick on $LAN inet6 from any to 64:ff9b::/96 af-to inet from (wg5)

This rule correctly translates the incoming IPv6 traffic into IPv4 traffic, 
however the interface on which it leaves through is not wg5, rather it is the 
default egress interface.
This happens despite specifying the from address to be the address of the wg5.

tcpdump on the default egress interface shows the traffic leaving on the 
incorrect interface:
 17:13:43.368709 [wg5 IPv4 address] > x.x.x.x: icmp: echo request (DF)

Is this a bug, am I missing a pf line or could this be intended behavior for 
some reason?

How can I make the traffic leave on the correct interface?

Thanks.

Reply via email to