kern/167051: PF NAT don't work

Z at C zacisco at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 10:40:01 UTC 2012
>Originator:     Z at C
>Release:        FreeBSD 9.0-RELEASE
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
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
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


More information about the freebsd-bugs mailing list