vpn using pptpclient in FreeBSD

Mike Tancsa mike at sentex.net
Wed Aug 31 19:25:26 UTC 2011

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: 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

        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
        set pptp disable windowing

Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/

More information about the freebsd-questions mailing list