From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 05:53:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8FAA16A415 for ; Fri, 8 Dec 2006 05:53:24 +0000 (UTC) (envelope-from weiwu@sdf.lonestar.org) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87D2843CA6 for ; Fri, 8 Dec 2006 05:52:28 +0000 (GMT) (envelope-from weiwu@sdf.lonestar.org) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 712A21C0047 for ; Fri, 8 Dec 2006 13:53:39 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00925-18 for ; Fri, 8 Dec 2006 13:53:37 +0800 (CST) Received: from [218.193.55.195] (unknown [59.57.205.229]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id 168111C002C for ; Fri, 8 Dec 2006 13:53:36 +0800 (CST) From: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Fri, 08 Dec 2006 13:53:28 +0800 Message-Id: <1165557208.6889.9.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: how do I do this "special proxy"? 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: Fri, 08 Dec 2006 05:53:25 -0000 Hello. I know this question must have been asked on the list, I simply don't know how to describe my problem with good English so that I can start a google search. We got a Windows file server in the next office, I have a FreeBSD host in my office. I wish to let it listen on 135/139 port (I am not sure which one is used for Windows file sharing), and forward any request to the Windows file server as if this FreeBSD is accessing the windows share itself. Also it forward the packet from Windows share server to client. To the client, the FreeBSD host IS the windows share server. However the Windows share server always think the FreeBSD host is the client. So this is a proxy I guess. Is it possible? I ask this because I wish to access these files at home, but my home ISP block access to the Windows share server for ISP competition reason. Luckily I have a FreeBSD server in my office connected to both competing ISP. I think I can configure this FreeBSD act as a "proxy" to access the Windows share. P.S. Complain to these governmental ISP won't work. This is in China.