Bug 164271 - [pf] not working pf nat on FreeBSD 9.0 [regression]
Summary: [pf] not working pf nat on FreeBSD 9.0 [regression]
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-pf (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 06:30 UTC by yuriy
Modified: 2015-12-12 11:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuriy 2012-01-18 06:30:10 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-01-18 11:27:54 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-pf

Over to maintainer(s).
Comment 2 Dennis Yusupoff 2012-02-08 16:10:36 UTC
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
Comment 3 Dennis Yusupoff 2012-02-09 09:32:08 UTC
"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 
Comment 4 cmb 2015-12-12 04:56:31 UTC
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.
Comment 5 Kristof Provost freebsd_committer freebsd_triage 2015-12-12 11:28:09 UTC
Closing based on the report in comment #4 and my own experience with pf NAT in 10 and 11.