From owner-freebsd-questions Wed Feb 5 10:30:28 2003 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 144C237B643 for ; Wed, 5 Feb 2003 10:30:26 -0800 (PST) Received: from glamredhel.hayholt.org (hayholt.org [195.18.109.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D04D43F79 for ; Wed, 5 Feb 2003 10:30:21 -0800 (PST) (envelope-from marcel@hayholt.org) Received: from eldar.hayholt.org (unknown [192.168.0.2]) by glamredhel.hayholt.org (Postfix) with ESMTP id CC146AF11; Wed, 5 Feb 2003 19:29:55 +0000 (WET) Date: Wed, 5 Feb 2003 19:30:17 +0100 (CET) From: Marcel Stangenberger To: Bill Moran Cc: Philip Hallstrom , "" Subject: Re: building a VPN with FreeBSD 4.7p3 In-Reply-To: <3E414446.3060500@potentialtech.com> Message-ID: <20030205192845.W565@eldar.hayholt.org> References: <20030204080406.Q23132-100000@cypress.adhesivemedia.com> <20030204214707.X52428@eldar.hayholt.org> <3E40466E.3000906@potentialtech.com> <20030205125500.A53666@eldar.hayholt.org> <3E414446.3060500@potentialtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I've read the website and i figured that vtun is for binding two networks > > together. The problems that i have is that: > > > > 1. My FreeBSD internal system is not doing routing/nat, it has only one > > interface with an RFC1918 IP on it. The router is an Allied Data 810. > > 2. My FreeBSD webserver doesn't have an inside interface, only an outside. > > Neither of these points prevents you from using vtun. Nor does either of > them make it any more difficult to use, really. Actually, they're both > good reasons to use vtun. > > Just set up your webserver as the vtun 'server' and the MySQL server as the > vtun 'client'. Make sure to use TCP (not UDP) and things will work just > fine. > hmm, ok, i'll give that a try. > > I Hope this makes it a bit clearer, or you be able to tell me where i'm > > wrong in this. > > I'm not sure exactly _where_ you're wrong, but you are. It can be done, > quite easily in fact. > > What about your setup makes you believe that vtun can't create the connection > you want? > that fact that all examples that i've seen are using NAT and linking multiple networks. That's not what i'm trying to do. Marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message