NAT does not work in pf. Help please! Given: FreeBSD 9.0 Release .. included in the core pf .. Simple rules: pf.conf ################################# int_if="dc0" ext_if="tun0" set skip on lo0 scrub in nat on $ext_if from 10.25.1.0/24 to any -> ($ext_if) pass all ################################# On FreeBSD 8.2 works without problems. On FreeBSD 9.0 dont work.
Responsible Changed From-To: freebsd-bugs->freebsd-pf Over to maintainer(s).
Would you be so kind to show "pfctl -sa"? --=20 With best regards, Dennis Yusupoff, network engineer of Smart-Telecom ISP Russia, Saint-Petersburg=20
"pfctl -si ", "pfctl -sm" and "pfctl -sS" would be quite more informative -- With best regards, Dennis Yusupoff, network engineer of Smart-Telecom ISP Russia, Saint-Petersburg
No telling what the issue was at the time in 9.0, but pf NAT certainly works in all current supported FreeBSD versions. This should be safe to close.
Closing based on the report in comment #4 and my own experience with pf NAT in 10 and 11.