From owner-freebsd-questions@FreeBSD.ORG Thu Oct 14 13:07:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5555216A4CE for ; Thu, 14 Oct 2004 13:07:20 +0000 (GMT) Received: from web21522.mail.yahoo.com (web21522.mail.yahoo.com [66.163.170.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 20B1F43D69 for ; Thu, 14 Oct 2004 13:07:20 +0000 (GMT) (envelope-from lovememek@yahoo.com) Message-ID: <20041014130720.49710.qmail@web21522.mail.yahoo.com> Received: from [202.150.34.8] by web21522.mail.yahoo.com via HTTP; Thu, 14 Oct 2004 06:07:20 PDT Date: Thu, 14 Oct 2004 06:07:20 -0700 (PDT) From: Sex Maniac To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: how redirect packet that came from other interface ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 13:07:20 -0000 Hello I got a problem. 1. I have a NAT router using FreeBSD 4.9. This router has 2 interfaces : ed0 with external IP 111.222.3333.444 ed1 with internal IP 10.10.10.1 I am using ipnat. I have this rule on my ipnat.conf : rdr ed0 111.222.333.444/32 port 41112 -> 10.10.10.229 port 41112 tcpudp 2. Problem arise when packet come from ed1. Computer with IP 10.10.10.234 (with default gateway 10.10.10.1) try to connect to 111.222.333.444 port 41112. It's not redirected to 10.10.10.229 :( How to solve this problem ? I want the packet from network 10.10.10.0/24 is redirected to 10.10.10.229 port 41112. -Galon Aerosmith- _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com