From owner-freebsd-net@FreeBSD.ORG Thu Nov 27 07:44:28 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44FE216A4CE for ; Thu, 27 Nov 2003 07:44:28 -0800 (PST) Received: from homer.du.se (homer.du.se [130.243.57.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A894043F93 for ; Thu, 27 Nov 2003 07:44:26 -0800 (PST) (envelope-from ano@du.se) Received: from du.se (wks-ano.du.se [130.243.36.198]) by homer.du.se (8.12.10/8.12.10) with ESMTP id hARFiLUk017416 for ; Thu, 27 Nov 2003 16:44:21 +0100 (MET) Message-ID: <3FC61BF5.5010109@du.se> Date: Thu, 27 Nov 2003 16:44:53 +0100 From: Anders Nordahl User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Enigmail-Version: 0.76.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Nospam-Score: -4.9 BAYES_00 X-Scanned-By: MIMEDefang 2.11 (www dot roaringpenguin dot com slash mimedefang) Subject: netgraph l2tp setup problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 15:44:28 -0000 Hi, I am trying to setup a l2tp server, but being new to the concept of netgraph i can't understand how it is supposed to be done. What I am trying to do is a VPN concentrator using l2tp and IPSec, I have found some rather vague references that this should be possible ( but almost all seem to be somewhat old). I've gotten as far as getting ng_ksocket to deliver packets to ng_l2tp (or so it seems) but I suspect I need something akin to mpd inorder to connect a ng_ppp instance to each session_xxxx hook as they get created, which results in a couple of questions: - Has someone already done this? - Is there such a beast as "mpd for l2tp"? I am trying to run this on an pc running 5.1-CURRENT Any pointers, suggestions etc would be much appreciated. /Anders