problem with pptp, using mpd

Artyom Viklenko artem at aws-net.org.ua
Thu Oct 22 15:42:23 UTC 2009


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 at aws-net.org.ua | http://www.aws-net.org.ua/~artem
FreeBSD: The Power to Serve   -  http://www.freebsd.org


More information about the freebsd-net mailing list