On Fri, 30 Sep 2005, Peter Bako wrote:

> I have a situation where I need to connect an OpenBSD box to a MS Windows
> PPTP server (yep, I know it is not secure, but in this case I have no choice
> in the matter).
> 
> After looking around the net I found myself at
> http://pptpclient.sourceforge.net/.  So I downloaded, complied and installed
> the program and tried to connect to my test box.  (Also complied a custom
> kernel using the GENERIC files with only the pseudo-device GRE line
> commented out.)  There aren't any OpenBSD specific instructions on the site,
> but reading the generic docs, as well as the docs for NetBSD, the PPTP man
> pages, etc. I think I have enough to get started.  However when I try to
> connect up I get nothing but a list of errors (connection timed out, could
> not open connection, etc.)  I know the path from my OpenBSD box to the test
> server is correct, because if I plug my Win2k laptop in it is able to
> successfully connect to the server.
> 
> As far as I can tell the problem is a lack of MPPE support either in the
> Kernel or in PPP.  However I cannot find any information on how to get this
> support onto an OpenBSD system.
> 
> Has anyone gotten PPTP-client to work on an OpenBSD box and if yes, would
> you be kind enough to send me some steps or any other info on how you did
> it?

Check the pptp package. It's a port of pptpclient. There used to be a
FAQ entry about pptp, but it somehow was reduced to just mention pptp.

The most important thing is to put net.inet.gre.allow=1 into your
sysctl.conf. Or compile a kernel without gre(4), but why bother? It's
a bit strange the pptp man page still contains instructions to
recompile the kernel and does not mention the systcl. I'll prod the
maintainer.

        -Otto

Reply via email to