Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2003 13:10:03 +0300 (MSK)
From:      denb <denb@front.ru>
To:        ipfw@freebsd.org
Cc:        hackers@freebsd.org
Subject:   Question about divert in ipfw2 on 5.0 release
Message-ID:  <200302281010.h1SAA3VD087527@www3.mailru.com>

next in thread | raw e-mail | index | archive | help
I write program simular to natd, witch receives packets at divert port X.
Question:
On ipfw1 (FreeBSD 4.7) this rules work excellent:
 
ipfw add divert X from any to any Y
ipfw add divert X from any Y to any
 
We're diverting all received and sended packets (from\to port Y) to divert port X.
But these rules are not working together with ipfw2 (5.0 Release). Each single rule 
works fine, but when i combine them together only first of them triggers. The order 
doesn't matter.
 
What am I doing wrong?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302281010.h1SAA3VD087527>