Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 10:58:07 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        "Andrew V. Jemerya" <jema@jet.msk.su>
Cc:        ipfw@FreeBSD.ORG
Subject:   Re: keep-state rule before nat
Message-ID:  <20020213105807.B46245@sunbay.com>
In-Reply-To: <3C6A38F2.8B65E6EC@jet.msk.su>
References:  <3C6A38F2.8B65E6EC@jet.msk.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 13, 2002 at 11:59:14AM +0200, Andrew V. Jemerya wrote:
> Hi, guys!
> 
> I had some trouble with keep-state rules recently.
> My firewall rules are the folowing:
> 
> check-state
> allow tcp from any to xxxx 25 keep-state
> allow udp from any 53 to xxx 53 keep-state
> 
> divert natd from 192.168.0.0/24 to any out via rl0
> divert from any to xxx in via rl0
> 
> 
> allow all from 192.168.0.4 to any via rl1 keep-state
> 
> This construction doen't work properly, but exactly it doesn't work at
> all
> What can I do for this situation?
> 
Keep-state combined with divert is really tricky.
Search ML archives for a possible solution.  I
posted them once.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

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?20020213105807.B46245>