From owner-freebsd-ipfw@FreeBSD.ORG Mon Aug 23 03:08:15 2004 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 15C9516A550 for ; Mon, 23 Aug 2004 03:08:15 +0000 (GMT) Received: from expredir1.cites.uiuc.edu (expredir1.cites.uiuc.edu [128.174.5.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68D1543D1F for ; Mon, 23 Aug 2004 03:08:13 +0000 (GMT) (envelope-from dongxiang@fastmail.fm) Received: from fastmail.fm (desert-53.slip.uiuc.edu [130.126.26.53]) i7N389Aa024123 for ; Sun, 22 Aug 2004 22:08:11 -0500 (CDT) Date: Sun, 22 Aug 2004 22:08:05 -0500 Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Dongxiang Liao To: freebsd-ipfw@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.553) Subject: natd -redirect_port X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 03:08:15 -0000 Hey there, I have been playing with ipfw and natd to setup firewall and port remap, but having problem with a seemingly trivial situation. I want to redirect the incoming traffic to port 995 to port 22 on the same machine. The man page of natd suggest natd -redirect_port should do it. But "natd -redirect_port tcp 22 995" indicate I am missing the target address and alias address. I don't quite understand the situation since I have only one machine itself here. I would appreciate any suggestions. Dong