In my pf.conf, I have a line like this:

wan = "re2"
pass in quick on $priv inet6 from any to 64:ff9b::/96 af-to inet from $wan

It used to work, but now it doesn't, I suspect that's because the order
of the ip addresses have changed when I type "ifconfig". Now I have some
ipv6 addresses before the ipv4 one.

I have this error:

/etc/pf.conf:74: translation spec contains addresses that don't match target 
address family

If instead of $wan, I put the ip, it works.

My $wan interface have only 1 ipv4 address, is there a way to reference
it?

-- 
Nicolas Goy

https://www.kuon.ch
https://www.goyman.com

Reply via email to