[Openswan Users] RSA and PSK in the same config file

Necati Demir necati at labristeknoloji.com
Thu Dec 8 14:23:12 CET 2005


I have this config file on my linux machine and VPN works.
But i want to add a connection, but not as others, it will use rsa not PSK.
And the client is WindowsXP. And it will be roadwarrior connection.
I added but, i have seen too much problem, can someone tell me from 
stratch how to add a connection for a windows client to use rsa and for 
roadwarrior connection?


version 2.0

config setup
        interfaces="ipsec0=eth1"
        klipsdebug=none
        plutodebug=none
        nat_traversal=no
        uniqueids=yes


conn %default
        authby=secret|rsasig
        auth=esp
        left=%defaultroute
        right=%any
        auto=add
        keyexchange=ike
        pfs=no
        keyingtries=0
        disablearrivalcheck=no

conn connection1
        authby=secret
        auth=esp
        esp=3des-md5-96
        left=a.b.c.d
        leftsubnet=192.168.201.0/24
        right=e.f.g.h
        rightsubnet=192.168.1.0/24
        auto=add

conn connection2
        authby=secret
        auth=esp
        left=a.b.c.d
        leftsubnet=192.168.201.0/24
        right=i.j.k.l
        rightsubnet=172.16.6.40/29
        auto=add

include /etc/ipsec.d/examples/no_oe.conf

-- 
-----
Necati Demir

---
necati at labristeknoloji.com
Labris Teknoloji
Ar&Ge
Yazilim Gelistirme Uzmani

---
ndemir at demir.web.tr
http://demir.web.tr

-----



More information about the Users mailing list