kern/148827: [ipfw] divert broken with in-kernel ipfw

Spil Oss spil.oss at gmail.com
Thu Jul 22 18:40:04 UTC 2010


The following reply was made to PR kern/148827; it has been noted by GNATS.

From: Spil Oss <spil.oss at gmail.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/148827: [ipfw] divert broken with in-kernel ipfw
Date: Thu, 22 Jul 2010 20:30:31 +0200

 It is only the outbound divert rule that needs to be changed from ip to ip4.
 
 # ipfw add 99 divert natd ip from any to any in via $pif
 # ipfw delete 100
 
 NATting still works
 
 # ipfw delete 500
 # ipfw add 500 divert natd ip  from any to any out via $pif
 
 NATting broken
 
 # ipfw delete 500
 # ipfw add 500 divert natd ip4 from any to any out via $pif
 
 NATting works again


More information about the freebsd-ipfw mailing list