https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288577
Bug ID: 288577
Summary: pf: pass out ... rdr-to changes source address instead
of destination address
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
according to pf.conf(5), rdr-to should change the destination address of a
packet. however, in practice, it changes the source address.
the traffic without rdr-to rule:
19:12:44.189279 IP6 2001:8b0:aab5:1::1 > 64:ff9b::141a:9cd7: ICMP6, echo
request, id 56445, seq 0, length 16
after adding the rdr-to rule:
pass out quick on $inet_if from <lf> to 64:ff9b::/96 rdr-to
2001:8b0:6464:0:66::/96
the traffic:
19:13:10.880660 IP6 2001:8b0:6464:0:66:: > 64:ff9b::141a:9cd7: ICMP6, echo
request, id 128, seq 2, length 16
the destination address is unchanged, but the source address has been modified.
this might be user error, but based on the pf.conf manpage, i would expect this
to work.
--
You are receiving this mail because:
You are the assignee for the bug.