From nobody@FreeBSD.org  Wed Apr 18 10:36:48 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3B8291065924
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Apr 2012 10:36:48 +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 257DC8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Apr 2012 10:36:48 +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 q3IAaltK012365
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Apr 2012 10:36:47 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3IAalcs012364;
	Wed, 18 Apr 2012 10:36:47 GMT
	(envelope-from nobody)
Message-Id: <201204181036.q3IAalcs012364@red.freebsd.org>
Date: Wed, 18 Apr 2012 10:36:47 GMT
From: "Z@C" <zacisco@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PF NAT don't work
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167051
>Category:       kern
>Synopsis:       PF NAT don't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 10:40:01 UTC 2012
>Closed-Date:    Wed Apr 18 10:47:49 UTC 2012
>Last-Modified:  Wed Apr 18 10:47:49 UTC 2012
>Originator:     Z@C
>Release:        FreeBSD 9.0-RELEASE
>Organization:
>Environment:
FreeBSD servCS 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Tue Apr 17 10:20:10 UTC 2012     cs@servCS:/usr/obj/usr/src/sys/CUSTOM_KERNEL  i386
>Description:
hello
when you can fix problem with PF nat rules (they didn't work)
don't check on earlier versions FreeBSD,but on 9.0 not work
this function very very need
thx
>How-To-Repeat:
have two eth
eth0 - external
eth1 - internal
in pf.conf:
nat on $ext_if proto udp from $vpn_ip port 1194 to any -> $ext_ip port 2000
rdr on $ext_if proto udp from any to $ext_ip port 2000 -> $vpn_ip port 1194

rdr is work
nat didn't

vpnclient sent packets from internet to $vpn_ip,but not recieve

http://lists.freebsd.org/pipermail/freebsd-bugs/2012-January/047166.html
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Apr 18 10:47:48 UTC 2012 
State-Changed-Why:  
Hello, the problem report list is intended for identified problems 
within the operating system. I am using nat extensively and that works 
on 9.x, so the issue you are seeing is a local problem but not a 
FreeBSD's problem. I would kindly like to ask you to mail the 
pf@freebsd.org mailinglist with questions on how to resolve this. I will 
be closing this ticket. Thank you for trying to make FreeBSD better! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167051 
>Unformatted:
