From owner-freebsd-questions@FreeBSD.ORG Mon Jun 26 11:46:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 829D016A403 for ; Mon, 26 Jun 2006 11:46:36 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C0C943F86 for ; Mon, 26 Jun 2006 11:24:55 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k5QBOrEY003138; Mon, 26 Jun 2006 14:24:53 +0300 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Mon, 26 Jun 2006 14:20:41 +0300 User-Agent: KMail/1.9.1 References: <8f3737470606260209q698a8762ob3c66b288a3300fb@mail.gmail.com> <200606261244.31817.nvass@teledomenet.gr> <8f3737470606260331pc1910f2wac7066d1b8acb896@mail.gmail.com> In-Reply-To: <8f3737470606260331pc1910f2wac7066d1b8acb896@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200606261420.41557.nvass@teledomenet.gr> Cc: Ertan =?iso-8859-1?q?K=FC=E7=FCkoglu?= Subject: Re: mpd simultaneous connection limited to 2 (VPN connectio limit) 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, 26 Jun 2006 11:46:36 -0000 On Monday 26 June 2006 13:31, Ertan Küçükoglu wrote: > On 6/26/06, Nikos Vassiliadis wrote: > > On Monday 26 June 2006 12:09, Ertan Küçükoglu wrote: > > > Hello, > > > > > > I had the problem of VPN connection limit. I want to have 10-20 VPN > > > connections at the same time. However, only 2 connections can be made. > > > 3rd person wait for somebody to logout. > > > > > > I use mpd from the ports. There are 20 different netgraph connections > > > defined in mpd.conf and mpd.links file also updated accordingly. I can > > > post the configuration upon request. > > > > please post the configuration files. > > # mpd.conf - mpd VPN configuration file > # ip adreslerini buraya girecegiz. > default: > load pptp0 [snip] > set ipcp ranges 192.168.0.254/24 192.168.0.159/24 these should be /32, it's a point-to-point interface but that's not the problem [snip] > > global: > set iface disable on-demand > set iface enable proxy-arp > set iface idle 3600 > set iface mtu 1400 > set bundle disable multilink > set bundle enable compression > set bundle enable crypt-reqd > 2set link mtu 1400 2set? > set link no pap chap > set link enable chap How are users authorized? I assume you have a secrets file. [snip] I see nothing strange in your config... > > What's the ouput of "bundle" in mpd? > > mpd is very chatty, Could you post 200-300 lines of messages attached > > to your message? > > Unfortunately, I did not open the log file yet. Machine is normally > not in my control. You don't have to log to syslog if you meant that by "log file". Run mpd interactively and see what's going on. I don't think you can go on without this step...