[Openswan Users] openswan installation

Özgür Uncuoğlu (WEBSAHİBİ) ozgur at websahibi.com
Sat May 28 06:21:01 EDT 2011


Hi there,

Newly installed openswan (2.6.23+dfsg-1ubuntu1 )on ubuntu 10.04 x64 with two interfaces.

When I try to connect from my pc (Windows 7) it logs error below

pluto[8707]: packet from client_ip:500: initial Main Mode message received on server_real_ip:500 but no connection has been authorized with policy=PSK

ipsec.secrets

server_real_ip %any: PSK "sharedkey"
192.168.1.1 %any: PSK "sharedkey"

a part of ipsec.conf

conn L2TP-PSK
        authby=secret
        pfs=no
        auto=start
#       auto=add
        keyingtries=3
        rekey=no
        ikelifetime=8h
        keylife=1h
        type=transport
        left=server's real ip
        leftnexthop=real ip gateway (router)
        leftprotoport=17/1701
#       leftprotoport=17/%any

#       right=%any
#       rightsubnet=vhost:%no,%priv

        right=192.168.1.1
        rightsubnet=192.168.1.0/24
        rightprotoport=17/0


googled lots of  page..lost in configurations
lot of combinations tried but ...:(

thnx in advance



Özgür UNCUOĞLU
Websahibi Internet Hizmetleri
Datacenter Koordinatörü
[cid:image001.png at 01CC1D39.0A82D6F0]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20110528/25a7d09f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 22638 bytes
Desc: image001.png
Url : http://lists.openswan.org/pipermail/users/attachments/20110528/25a7d09f/attachment-0001.png 


More information about the Users mailing list