https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252874
Bug ID: 252874
Summary: pf cant't bind interface dynamically
Product: Base System
Version: 12.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
when i add a nat rule to pf like this
nat on re0 inet from 192.168.2.0/24 to any -> re0
^
|
|
this is destination out interface
the pf nat forward the packet to the ip of re0 ,not interface re0
pfctl -s nat i can see the rule change to this
nat on re0 inet from 192.168.2.0/24 to any -> 192.168.2.3 (re0 ip)
it means that when i change the re0 ip address other the nat will not work,
because the nat rule do not bind the interface but bind to the ip of re0
interface,
i wish the pf nat could bind the interface rather then interface's ip.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"