From owner-freebsd-questions@FreeBSD.ORG Tue Mar 18 23:44:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2482A1065678 for ; Tue, 18 Mar 2008 23:44:01 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4898FC20 for ; Tue, 18 Mar 2008 23:44:00 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so149212wra.13 for ; Tue, 18 Mar 2008 16:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=sp74W3Fhs6b4WgThtGiMnsfYHxAfw+AR3rVL1UogJrQ=; b=d0YDsHunw4HT2AMAwHkcflAJTp3oj2ntVEwDiH1OzNyLLz78kHGoj5vF9B/nKnVBCVTjXohgqqKKPVLLxArmYEHYmc50X0mT4QAb6w5tbXBShXzLGgfeEFjyDiz5ee0xlLU9XGbu/56hILCDyb54x7Mql5w2HjVH7IJ0gJFRBIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=mziCU7GrkbJAt3qas93QX0a0MIZ/IhNYgx93S6iQLfmHMM1+zKKilzGtex0MZb1wBx0jjaR+sXDZ9X25UMh0gaTz3M/cTMl7b8Zxmc+z8I/ulaysf9jHJhgRIxlDGU4w8tEFQT/XGpPybPhOc8D0M/OgipQYvo3JAJokInjIRHM= Received: by 10.114.170.1 with SMTP id s1mr214035wae.54.1205883838942; Tue, 18 Mar 2008 16:43:58 -0700 (PDT) Received: by 10.114.168.6 with HTTP; Tue, 18 Mar 2008 16:43:58 -0700 (PDT) Message-ID: <8f82c35c0803181643w712b2c91scbaa999466a0eb84@mail.gmail.com> Date: Wed, 19 Mar 2008 00:43:58 +0100 From: "Jon Theil Nielsen" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mpd pptp server? 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: Tue, 18 Mar 2008 23:44:01 -0000 I have tried some different ways to make a working VPN server on FreeBSD 7.0. The main goal is to make it possible for Windows clients to access their Samba home shares. I'm not sure if mpd is the best solution, but I will give it a try. I have installed /usr/ports/mpd4 and have the following configuration: ==============/usr/local/etc/mpd4/mpd.conf============ startup: default: load pptp1 pptp1: new -i ng0 pptp1 pptp1 set iface disable on-demand set iface enable proxy-arp set iface idle 0 set iface enable tcpmssfix set bundle enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set ipcp ranges 192.168.1.4/32 192.168.1.151/32 set ipcp dns 192.168.1.4 set ipcp nbns 192.168.1.4 set link disable pap set bundle enable compression set ccp yes mppc #set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless #set bundle enable crypt-reqd ==============/usr/local/etc/mpd4/mpd.linksf============ pptp1: set link type pptp ## define the link type protocol as PPTP set pptp self 192.168.1.4 ## define the IP address on which MPD will run set pptp enable incoming ## define the connection as Incoming set pptp disable originate ## enables PPTP connection for communication with the client And then I also have a mpd.secrets file of course. I can start the service, but I don't see any pptp interface after an ifconfig command. And netstat -an does not show any port 1723 listening. Do I need to have a customized kernel to make it work? Or are there any obvious errors in the above configuration? Regards, Jon Theil Nielsen