From nobody@FreeBSD.org  Wed Jan 18 06:24:43 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D8C88106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Jan 2012 06:24:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C3EA78FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Jan 2012 06:24:43 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0I6OhXm099803
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Jan 2012 06:24:43 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q0I6OhuI099795;
	Wed, 18 Jan 2012 06:24:43 GMT
	(envelope-from nobody)
Message-Id: <201201180624.q0I6OhuI099795@red.freebsd.org>
Date: Wed, 18 Jan 2012 06:24:43 GMT
From: yuriy <yuriy.it.uz@list.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: not working pf nat on FreeBSD 9.0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164271
>Category:       kern
>Synopsis:       [pf] not working pf nat on FreeBSD 9.0 [regression]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-pf
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 18 06:30:10 UTC 2012
>Closed-Date:    
>Last-Modified:  Fri Feb 17 23:22:34 UTC 2012
>Originator:     yuriy
>Release:        FreeBSD 9.0 Release
>Organization:
IT/IS/Operations
>Environment:
FreeBSD router 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 17                                     11:14:34 EET 2012 yuriy@router:/usr/obj/usr/src/sys/MY  i386

>Description:
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.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-pf 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jan 18 11:27:54 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164271 

From: Dennis Yusupoff <dyr@smartspb.net>
To: bug-followup@FreeBSD.org, yuriy.it.uz@list.ru
Cc:  
Subject: Re: kern/164271: [pf] not working pf nat on FreeBSD 9.0 [regression]
Date: Wed, 08 Feb 2012 20:10:36 +0400

 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
 
Date: Thu, 09 Feb 2012 13:32:08 +0400
From: Dennis Yusupoff <dyr@smartspb.net>
To: Yuriy NASA <yuriy.it.uz@list.ru>, bug-followup@freebsd.org
Subject: Re: pf FreeBSD 9.0

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig6024401DA5A6091CE182FFD9
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 "pfctl -si ", "pfctl -sm" and "pfctl -sS" would be quite more informative
 
 --=20
 With best regards,
 Dennis Yusupoff,
 network engineer of
 Smart-Telecom ISP
 Russia, Saint-Petersburg 
 
 --------------enig6024401DA5A6091CE182FFD9
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (MingW32)
 
 iQEcBAEBAgAGBQJPM5KeAAoJEBUTaqBS2NB40CYIAKE3fNhfm48kBXR9VdPyDgR6
 dAlyY/Dai6s5ixLJvRa6nVI0MtTaNgNhLw6IP0/ZqJCloZYhPL4yqMSxHD73HMXl
 m0Wvmwlh+zygdI6bN2BSZYFibmgXNCHO12j/I5D1bLnlR8e4beLUhmmHH3Q7faAN
 nJjVW/IMV66EZlq6+YTU7iEZyMIjAaCaM/HW1M9pqyRK873+tNmGqa+2SET4jmSB
 ZjmTgb40kou2S9Ce7t8ujE9ulVEggLrkvwbQgsDGBQOidNR8/qLeWNdu5qgylljO
 QfqXtmah6Rspf9PNEzzTfke0Uu4JJbxV3ThPrjEnf+n7a4MJCvru/KTp1tV7gd8=
 =gvkO
 -----END PGP SIGNATURE-----
 
 --------------enig6024401DA5A6091CE182FFD9--
>Unformatted:
