[Openswan Users] Mac OS X can't connect to Openswan server (Linux Kernel 2.6)

Jean-Michel Caricand jean-michel.caricand at lifc.univ-fcomte.fr
Tue Apr 29 14:45:45 EDT 2008


>
> leftprotoport=17/1701
> rightprotoport=17/%any
>
> That lets me connect just fine from Mac OS X.

Hmmm. I think it's not enought. You must also have leftid, etc.

Example with x509 certificates :

conn macos-l2tp
        keyingtries=3
        compress=no
        disablearrivalcheck=no
        left=YOUR-VPN-IP
        leftsendcert=always
        leftcert=vpn-cert.pem
        leftrsasigkey=%cert
        rightca=%same
        rightrsasigkey=%cert
        authby=rsasig
        type=tunnel
        leftid=YOUR-VPN-IPADDR
        leftprotoport=17/1701
        rightprotoport=17/%any
        rightsubnet=vhost:%priv,%no
        right=%any
        rightid="xxxxxxxxxx"
        forceencaps=yes
        auto=add
        pfs=no

See : http://www.jacco2.dds.nl/networking/openswan-macosx.html for more
informations

Cheers

- Jean-Michel

>
> Regards,
>
> -Roberto
>
> --
> Roberto C. Sánchez
> http://people.connexer.com/~roberto
> http://www.connexer.com
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>




More information about the Users mailing list