From owner-freebsd-net@FreeBSD.ORG Tue Jul 10 16:51:49 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 464FB16A41F for ; Tue, 10 Jul 2007 16:51:49 +0000 (UTC) (envelope-from bth@higonnet.net) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id DA0AE13C43E for ; Tue, 10 Jul 2007 16:51:48 +0000 (UTC) (envelope-from bth@higonnet.net) Received: from smtp8-g19.free.fr (smtp8-g19.free.fr [212.27.42.65]) by postfix1-g20.free.fr (Postfix) with ESMTP id D287515FF2CE for ; Tue, 10 Jul 2007 18:19:27 +0200 (CEST) Received: from freebsd.paristolet.com (higonnet.net [82.238.41.134]) by smtp8-g19.free.fr (Postfix) with ESMTP id DACAD1AA55 for ; Tue, 10 Jul 2007 18:19:26 +0200 (CEST) Received: from montreal (montreal [192.168.0.110]) by freebsd.paristolet.com (Postfix) with ESMTP id 3E11285B863 for ; Tue, 10 Jul 2007 18:19:29 +0200 (CEST) Content-Disposition: inline From: "Bernard T. Higonnet" Organization: self To: freebsd-net@freebsd.org Date: Tue, 10 Jul 2007 18:19:27 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200707101819.28061.bth@higonnet.net> Subject: 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 16:51:49 -0000 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 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