Solaris PPTP Client

Description

This page contains my port of PPTP Client for Solaris 10 and Solaris Nevada. There are a few similar patches for earlier versions of PPTP Client and Solaris can be found on the web, but none of them actually works correctly.

Pre-built packages

You can download pre-built package for Solaris 10 and Nevada:

Patches

This patches are already included in pptp-client 1.7.2.

Alternatively, you can build Solaris PPTP Client from source:

  1. Download PPTP Client 1.7.1 tarball from http://pptpclient.sourceforge.net/ and unpack it:

    # gunzip -c pptp-1.7.1.tar.gz | tar xf -
  2. Download pptp-1.7.1_s0-solaris.patch here
  3. Apply the patch:

    # cd pptp-1.7.1
    # gpatch -p1 < ../pptp-1.7.1_s0-solaris.patch
  4. Modify makefile for your Solaris system:

    # Solaris 10
    # LIBS = -lnsl -lsocket -lresolv
    # Solaris Nevada build 14 or above
    # LIBS = -lnsl -lsocket
  5. Build:

    # make

9 Responses to “Solaris PPTP Client”

  1. Dmitry Ursegov Says:

    Hi! How about the pptpd port?

  2. Ilya Voronin Says:

    Poptop project webpage claims that pptpd was ported to Solaris 2.6, and i was able to build it fine on Nevada with small makefile fixes (excluded bcrelay). I never checked if it works at all.

  3. zjxjs Says:

    Hi,i downloaded pptp-1.7.1.tar.gz , and use your patch file to patch , and build it ,
    but when i try use pptp to connect my vpn server , it don’t work .
    so , can you tell me how about to make it work ?
    thanks !

  4. Ilya Voronin Says:

    What exactly doesn’t work? Did you receive any error messages?

  5. Douglas Atique Says:

    Hi,
    Great news! Will you contribute this patch back into pptpclient project so that future versions work out of the box?

  6. Ilya Voronin Says:

    This patch is already in pptpclient CVS tree!

  7. azunk Says:

    I’ve build “make” like U’r tutorial
    should I necessary do “make install” ?
    how do I connect with pptp server ?

    sorry I’m still newbie

    thx

  8. azunk Says:

    IN OPEN SOLARIS FORUM
    ######
    I really need this, so I decided to give it a try. I have just built it from sources and installed it at /opt/pptp-1.7.1. Now I would like to set it up such that connection is as simple as:

    set up connection:
    svccfg -s network/pptp:MyInstance setprop host=
    svccfg -s network/pptp:MyInstance setprop user=
    svccfg -s network/pptp:MyInstance setprop passwd=

    connect:
    svcadm enable network/pptp:MyInstance

    disconnect:
    svcadm disable network/pptp:MyInstance

    #####
    how does he install in /opt as svc ?

  9. Solaris Notes » Blog Archive » Вышел pptp-client 1.7.2 с поддержкой Solaris Says:

    […] патчи для работы pptp-client под Solaris включены в вышедший сегодня […]

Leave a Reply