From owner-freebsd-questions@FreeBSD.ORG Mon Nov 30 11:02:58 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 968BC1065670 for ; Mon, 30 Nov 2009 11:02:58 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from genesis.muliahost.com (genesis.muliahost.com [202.67.13.170]) by mx1.freebsd.org (Postfix) with ESMTP id 148CA8FC13 for ; Mon, 30 Nov 2009 11:02:57 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=muliahost.com; h=Message-ID:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance; b=IxK1gZPZTRIooRghrCPSvo8Rj6Hx79e0TiffHMRLXunondLP6Yu+nTgMbOmeh/23rQfLFC2syb+5i40yab0qHSqGbzTXRs3rt/FtBkM403st7Ti4RUMHBZ8wd/x3E4/p; Received: from localhost ([127.0.0.1] helo=muliahost.com) by genesis.muliahost.com with esmtpa (Exim 4.69) (envelope-from ) id 1NF3kZ-0004b7-0m for questions@freebsd.org; Mon, 30 Nov 2009 17:44:59 +0700 Received: from 203.153.106.5 ([203.153.106.5]) (SquirrelMail authenticated user kalpin@muliahost.com) by muliahost.com with HTTP; Mon, 30 Nov 2009 17:44:59 +0700 (WIT) Message-ID: <2043.203.153.106.5.1259577899.squirrel@muliahost.com> Date: Mon, 30 Nov 2009 17:44:59 +0700 (WIT) From: kalpin@muliahost.com To: questions@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - genesis.muliahost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - muliahost.com Cc: Subject: Transparent proxy using IPFW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 11:02:58 -0000 Dear All, Is it possible to do like my requirement below? 1. Setup portfwd in my server listen on port 555 and forward all connection through this port to another server with same port or different port 2. All client which connected through this port, then remote server which landed to the end can see the client's IP. example: Client IP: 202.15.15.16 FreeBSD IP: 202.16.17.18 listen on port 555 Remote Server IP: 202.89.89.90 Client IP connect to 202.16.17.18 on port 555, and then FreeBSD forward it to 202.89.89.90 with same port or different port. Server with IP 202.89.89.90 can see Client's IP 202.15.15.16. I am using FreeBSD 7.2-stable. Thank you Kalpin Erlangga Silaen