From owner-freebsd-ipfw@FreeBSD.ORG Sun Apr 6 04:17:00 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC1F037B401; Sun, 6 Apr 2003 04:16:58 -0700 (PDT) Received: from smtp.hotbox.ru (smtp.hotbox.ru [80.68.244.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7382443F85; Sun, 6 Apr 2003 04:16:57 -0700 (PDT) (envelope-from denb@mailru.com) Received: from 81.195.140.242 ([81.195.140.242]) (authenticated bits=0) by smtp.hotbox.ru (8.12.6/8.12.6) with ESMTP id h36B9MKl041571; Sun, 6 Apr 2003 15:09:27 +0400 (MSD) (envelope-from denb@mailru.com) Date: Sun, 6 Apr 2003 15:14:06 +0400 From: Denis Borisov X-Mailer: The Bat! (v1.62 Christmas Edition) Personal X-Priority: 3 (Normal) Message-ID: <12711765728.20030406151406@mailru.com> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: ipfw@freebsd.org Subject: Problem with natd on ipfw2 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Denis Borisov List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 11:17:01 -0000 Why natd don't divert packets? *********screenshot*********************** #ipfw add divert 1111 tcp from any to any 7 #ipfw add divert 1111 tcp from any 7 to any #natd -v -p 1111 -a 172.16.0.102 -redirect_port tcp 172.16.0.253:7 7 In [TCP] [TCP] 172.16.0.104:49169 -> 172.16.0.102:7 aliased to [TCP] 172.16.0.104:49169 -> 172.16.0.253:7 In [TCP] [TCP] 172.16.0.104:49169 -> 172.16.0.102:7 aliased to [TCP] 172.16.0.104:49169 -> 172.16.0.253:7 ^C *********screenshot*********************** Where is Out[TCP]? This constructions fine work on FreeBSD4.7(ipfw1) but don't work on FreeBSD 5.0-CURRENT(ipfw2). What i am doing wrong?