Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 15:02:44 +0100 (=?ISO-8859-15?Q?Westeurop=E4ische_Normalzeit?=)
From:      Michael Bretterklieber <mbretter@a-quadrat.at>
To:        Brad Watkins <bpwatkins@internode.on.net>
Cc:        Tom Storey <bootsector@internode.on.net>
Subject:   Re: mpd 3.15
Message-ID:  <Pine.WNT.4.58.0401201455480.3588@BRUTUS>
In-Reply-To: <005901c3df4f$9cd48650$33a119ac@ptds.qld.prism.int>
References:  <005901c3df4f$9cd48650$33a119ac@ptds.qld.prism.int>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Tue, 20 Jan 2004, Brad Watkins wrote:
> I'm having trouble configuring mpd 3.15,
> Im trying to create a vpn tunnel to a friends network throguh the internet who is using windows 2003 at the moment but will be using freebsd and mpd as well.
> the vpn will allow incomming connections but not outgoing.
> i will attach the configuration files below
>
> mpd.links
> ~~~~~~~~~
> vpn:
>         set link type pptp
>         set pptp self 172.25.161.45/27
>         set pptp peer 172.25.161.51/27
>         set pptp enable originate incoming outcall
for outgoing connections remove "incoming" and "set pptp self", and a
single IP-Address is here expected and not an address-range.

>
> mpd.conf
> ~~~~~~~~~
> default:
>
>         load vpn
>
> vpn:
>         new -i ng1 vpn vpn
>         set iface disable on-demand
>         set iface addrs 172.25.144.1 172.25.145.1
>         set iface idle 0
>         set bundle session 28800
>         set iface route 172.25.145.0/24
>         set bundle disable multilink
>         set bundle authname "BRADTOP\\tom_brad"
>         set bundle password "rotaredom"
>         set bundle enable compression
>         set link yes acfcomp protocomp
>         set link no pap
>         set link yes chap
for outgoing connections it's better just doing:
set link no pap chap
set link accept chap

... because "yes" stands for "enable" and "accept", whereas "enable"
means, "I'm actively requesting this feature", wich can make problems in
client mode.

bye,
--
------------------------------- ----------------------------------
Michael Bretterklieber          - http://www.bretterklieber.com
A-Quadrat Automation GmbH       - http://www.a-quadrat.at
Tel: ++43-(0)3172-41679         - GSM: ++43-(0)699 12861847
------------------------------- ----------------------------------
"...the number of UNIX installations has grown to 10, with more
expected..." - Dennis Ritchie and Ken Thompson, June 1972



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.4.58.0401201455480.3588>