Unfortunately it's not that easy.
I copy pasted example for a pptp client from the example file and it wouldn't connect. Under further investigation I found out it's because the example tries to connect without encryption/compression even without an authentication type. What I did find out is the unit im trying to connect to requires mschapv2 with stateless mppe 128. After searching for other sections in the config file with examples for setups like this is I built following config.. 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 ipcp ranges 0.0.0.0/0 0.0.0.0/0 set iface enable tcpmssfix set ipcp yes vjcomp create link static L1 pptp set link action bundle B1 # Allow peer to authenticate us set link enable chap-msv2 set link accept chap-msv2 # Enable Microsoft Point-to-Point encryption (MPPE) set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set bundle enable crypt-reqd set mppc yes stateless set link yes acfcomp protocomp set auth authname myusernamehere set auth password mypasswordhere set link max-redial 0 set link mtu 1460 set link keep-alive 20 75 set pptp peer theiphere set pptp disable windowing open However this doesn't work either. First of all I get following errors on load of mpd5: Multi-link PPP daemon for FreeBSD process 2507 started, version 5.2 ([EMAIL PROTECTED] 12:33 8-Nov-2008) Label 'startup' not found [B1] Bundle: Interface ng0 created mpd.conf:29: Incorrect context for: 'set bundle enable compression' mpd.conf:31: Incorrect context for: 'set ccp yes mppc' mpd.conf:32: Incorrect context for: 'set mppc yes e128' mpd.conf:33: Incorrect context for: 'set bundle enable crypt-reqd' mpd.conf:34: Incorrect context for: 'set mppc yes stateless' And ive got a fealing that's it's because of this that it cannot connect.. And the odd thing is that all of those options weir copy/pasted out of the sample file for mpd5!!!! Advise? From: Odhiambo Washington [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 8:01 AM To: Marcel Grandemange Subject: Re: FreeBSD Mpd5 PPTP Connection On Wed, Nov 12, 2008 at 2:59 AM, Marcel Grandemange <[EMAIL PROTECTED]> wrote: Does anybody know where I can find help for setting this up. I have used both mpd4 and mp5 for client connections, but not inter-office connections. You just install and configure. It's not so complicated if you read the sample configuration file! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Life must be understood backwards; but... it must be lived forward." - Soren Kierkegaard "Oh My God! They killed init! You Bastards!" --from a /. post _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"