Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2011 15:25:07 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Marco Beishuizen <mbeis@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: vpn using pptpclient in FreeBSD
Message-ID:  <4E5E8A93.1010006@sentex.net>
In-Reply-To: <alpine.BSF.2.00.1108302340540.3063@yokozuna.lan>
References:  <alpine.BSF.2.00.1108302340540.3063@yokozuna.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5E8A93.1010006>