From owner-freebsd-net@FreeBSD.ORG Tue Jul 10 19:32:33 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5585716A41F for ; Tue, 10 Jul 2007 19:32:33 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [213.251.163.210]) by mx1.freebsd.org (Postfix) with ESMTP id 07A4E13C44C for ; Tue, 10 Jul 2007 19:32:32 +0000 (UTC) (envelope-from hlh@restart.be) Received: from restart.be (ip-83-134-208-129.dsl.scarlet.be [83.134.208.129]) by tignes.restart.be (8.13.8/8.13.8) with ESMTP id l6AJWT47077527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 10 Jul 2007 21:32:30 +0200 (CEST) (envelope-from hlh@restart.be) Received: from morzine.restart.bel (morzine.restart.bel [192.168.24.2]) (authenticated bits=0) by restart.be (8.14.1/8.14.1) with ESMTP id l6AJWQNU036986; Tue, 10 Jul 2007 21:32:26 +0200 (CEST) (envelope-from hlh@restart.be) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1184095949; bh=AoEOairs2KiaNcS95hljj5A6DVZQJGaAJZZv7Ou kd6k=; h=DomainKey-Signature:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-Scanned-By; b=l52wiq7mYvq wmmkkGoxacTtOSj+0Q/OKM6/4RbczCl40wzWhvesOU5bk2u0Ozi+XHTy2CFQ1CLyw6p mUi19JJQ== DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type: content-transfer-encoding:x-scanned-by; b=pZqtLlzph9aulqVPKyKs6z7pEMmtoHKYQB5NNr9egT5k4KXSxbLR1fSrlCXrGY+Kn nJcZL7IJRKugb0t3/b6Jw== Message-ID: <4693DECA.2010106@restart.be> Date: Tue, 10 Jul 2007 21:32:26 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 2.0.0.4 (X11/20070616) MIME-Version: 1.0 To: "Bernard T. Higonnet" References: <200707101819.28061.bth@higonnet.net> In-Reply-To: <200707101819.28061.bth@higonnet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.61 on 192.168.24.1 Cc: freebsd-net@freebsd.org Subject: Re: mpd isn't listening on 1723 because he can't get it thhough it isn't used X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 19:32:33 -0000 Bernard T. Higonnet wrote: > Hello, > > I want to set up a VPN server on a freebsd machine so Windows clients can use > it. > > I am using FreeBSD 6.1 and mpd 3.18 from the ports collection. > > When I run mpd I get this: > > mpd > Multi-link PPP for FreeBSD, by Archie L. Cobbs. > Based on iij-ppp, by Toshiharu OHNO. > mpd: pid 11377, version 3.18 (root@freebsd2.paristolet.com 10:10 8-Jul-2007) > [bundle1] ppp node is "mpd11377-bundle1" > mpd: bind: Can't assign requested address > mpd: can't get PPTP listening socket > mpd: bind: Can't assign requested address > mpd: can't get PPTP listening socket > [bundle1] using interface ng0 > > Of course since he couldn't get a hold of port 1723 he couldn't establish a > socket and nothing happens. netstat shows no one is listening on 1723: > > netstat -a | fgrep LIS > tcp4 0 0 freebsd2.ssh montreal.50547 ESTABLISHED > tcp4 0 0 freebsd2.ssh montreal.61574 ESTABLISHED > tcp4 0 0 *.ssh *.* LISTEN > tcp6 0 0 *.ssh *.* LISTEN > tcp4 0 0 *.smtp *.* LISTEN > tcp6 0 0 *.nfsd *.* LISTEN > tcp4 0 0 *.nfsd *.* LISTEN > tcp6 0 0 *.636 *.* LISTEN > tcp4 0 0 *.637 *.* LISTEN > tcp4 0 0 *.sunrpc *.* LISTEN > tcp6 0 0 *.sunrpc *.* LISTEN > > There is no other instance of mpd running > > Here are the mpd conf and link files: > > default: > load pptp1conf > # load pptp2conf > > pptp1conf: > new -i ng0 bundle1 pptp1 > set ipcp ranges 192.168.1.103/32 192.168.1.200/32 ^^^^^^^^^^^^^ Is this address defined on your server ? Henri > load common > > #pptp2conf: > # new -i ng1 bundle2 pptp2 > # set ipcp ranges 192.168.1.103/32 192.168.1.201/32 > # load common > > common: > set iface disable on-demand > set iface enable proxy-arp > set iface idle 0 > set iface enable tcpmssfix > set bundle enable multilink > set link enable acfcomp protocomp > set link no pap chap > set link enable chap > # set link mtu 1460 > set link keep-alive 10 60 > set ipcp yes vjcomp > set ipcp dns 208.67.222.222 208.67.220.220 > #set ipcp nbns 172.20.1.1 172.20.1.8 > #set bundle enable compression > #set ccp yes mppc > #set ccp yes mpp-e40 > #set ccp yes mpp-e128 > #set ccp yes mpp-stateless > > > > pptp1: > set link type pptp > set pptp self 82.238.41.134 500 > set pptp enable incoming > set pptp disable originate > > pptp2: > set link type pptp > set pptp self 82.238.41.134 > set pptp enable incoming > set pptp disable originate > > > As usual, all help appreciated > Bernard Higonnet > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"