kern/167051: PF NAT don't work

Z at C zacisco at gmail.com
Wed Apr 18 10:40:02 UTC 2012


>Number:         167051
>Category:       kern
>Synopsis:       PF NAT don't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 10:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Z at 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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list