Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2009 18:42:15 +0300
From:      Artyom Viklenko <artem@aws-net.org.ua>
To:        "Mathieu L." <lejatorn@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: problem with pptp, using mpd
Message-ID:  <4AE07D57.6070709@aws-net.org.ua>
In-Reply-To: <95a7a803a4435ee1e8e7a161174994ae@iram.fr>
References:  <95a7a803a4435ee1e8e7a161174994ae@iram.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Mathieu L. wrote:
> Hello, 
> 
> I am having trouble using mpd, I want to connect to a vpn with pptp
> (vpn service provided by relakks.com).
> 
> Here is my configuration:
> 
> mpd.conf:
> #########################
> 
> default:
> 	load relakks
> 
> relakks:
>         create bundle static B1
>         set iface route default
>         set ipcp ranges 0.0.0.0/0 0.0.0.0/0
> # Enable Microsoft Point-to-Point encryption (MPPE)
>         set bundle enable compression
>         set ccp yes mppc
>         set mppc yes e128
>         set bundle enable crypt-reqd
>         set mppc yes stateless
> 
>         create link static L1 pptp
>         set link action bundle B1
> # Enable both sides to authenticat each other with CHAP
>         set auth disable internal
>         set auth authname "lejatorn"
>         set auth password "XXXXXXXX"
>         set link no pap
>         set link no eap
>         set link yes chap
>         set link mtu 1460
>         set link keep-alive 10 75
>         set link max-redial 0
> # Configure PPTP and open link
>         set pptp peer pptp.relakks.com
>         set pptp disable windowing
>         set link enable incoming
>         open
> 
> 

try to add these:

set auth authname <your-host-name>
set link enable no-orig-auth




-- 
            Sincerely yours,
                             Artyom Viklenko.
-------------------------------------------------------
artem@aws-net.org.ua | http://www.aws-net.org.ua/~artem
FreeBSD: The Power to Serve   -  http://www.freebsd.org



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