From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 21:46:53 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 B20FF16A4CF for ; Mon, 22 Nov 2004 21:46:53 +0000 (GMT) Received: from mail.arax.md (mail.arax.md [217.26.160.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 208E843D5E for ; Mon, 22 Nov 2004 21:46:53 +0000 (GMT) (envelope-from cezar@arax.md) Received: from qvirtual (helo=mail.arax.md) by mail.arax.md with local-smtp (Exim 4.31; FreeBSD) id 1CWM1N-00005U-4O for freebsd-questions@freebsd.org; Mon, 22 Nov 2004 23:46:53 +0200 Received: from [217.26.167.58] (helo=caesar) by mail.arax.md with esmtp (Exim 4.31; FreeBSD) id 1CWM1M-00005N-2C for freebsd-questions@freebsd.org; Mon, 22 Nov 2004 23:46:52 +0200 Date: Mon, 22 Nov 2004 23:46:42 +0200 From: Cezar Fistik X-Mailer: The Bat! (v2.00) Organization: ARAX-IMPEX S.R.L. X-Priority: 3 (Normal) Message-ID: <2638180580.20041122234642@arax.md> To: freebsd-questions@freebsd.org In-Reply-To: <20041122201132.8353.qmail@web51706.mail.yahoo.com> References: <20041122201132.8353.qmail@web51706.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: tunneling everything X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cezar Fistik List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 21:46:53 -0000 Hello Andrei, Monday, November 22, 2004, 10:11:32 PM, you wrote: AI> Hi! I am looking for a solution to this problem: I AI> want to make a tcp tunneling. The ssh tunneling AI> doesn`t satisies me because I don`t want to tunnel a AI> specific service, I want to tunnel everything. For AI> example: I would like my host to route everything AI> through a tcp tunnel. I would like to see what AI> solutions exist on FreeBSD. Please give just some AI> links. Thank you in advance! It is called Virtual Private Network, or just VPN, and not only on FreeBSD. In general, I don't know about such thing as TCP tunneling, instead there is IP tunneling which is encapsulating some protocols, routeble or not, in ip packets. SSH doesn't use any tunneling, it uses ordinary TCP connection on port 22, with one exception, it encrypts everything that is sent accross this connection. So, I assume you need a tunnel between two hosts to transport some non routable or routable protocols (may be even "ip in ip") with or without encryption. If this is the case try to configure at first a tunnel without encryption and when you're sure everything works add some encryption algorithms. -- Best regards, Cezar mailto:cezar@arax.md