From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 19:25:26 2011 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 551FB1065670 for ; Wed, 31 Aug 2011 19:25:26 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 190BE8FC0C for ; Wed, 31 Aug 2011 19:25:26 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p7VJPOW6082641; Wed, 31 Aug 2011 15:25:24 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4E5E8A93.1010006@sentex.net> Date: Wed, 31 Aug 2011 15:25:07 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Marco Beishuizen References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.71 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-questions@freebsd.org Subject: Re: vpn using pptpclient in FreeBSD 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: Wed, 31 Aug 2011 19:25:26 -0000 On 8/30/2011 5:51 PM, Marco Beishuizen wrote: > > After a lot of searching and googling I never found the answer. Has > anyone here succeeded in setting up a working pptp vpn connection? > use mpd5 from the ports. It is well supported and works very well both as a client and server. There is a sample config in the mpd.conf.example where all you need to do is change the userid and passwd and server IP... pptp_client: # # PPTP client: only outgoing calls, auto reconnect, # ipcp-negotiated address, one-sided authentication, # default route points on ISP's end # create bundle static B1 set iface route default set ipcp ranges 0.0.0.0/0 0.0.0.0/0 create link static L1 pptp set link action bundle B1 set auth authname MyLogin set auth password MyPass set link max-redial 0 set link mtu 1460 set link keep-alive 20 75 set pptp peer 1.2.3.4 set pptp disable windowing open -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/