[Openswan Users] Guidance requested for PSK connection ; getting error 789

Jacco de Leeuw jacco2 at dds.nl
Wed Nov 8 09:10:55 EST 2006

John Joseph wrote:

> I am using PSK keys to authenticate , I am facing
> some problems in getting the connection established ,
> I feel I had got wrong on "right" "left" parameter.

Your lefts/rights are alright.

> virtual_private=%v4:,%v4:

192.168.x.x subnets are quite common too. You might
want to add them.

> conn %default
>         type=tunnel
> conn l2tp-psk

I believe that starting from Openswan 2.4.5 you need
type=transport in conn l2tp-psk.

> Nov  8 16:08:16 ispc1 pluto[14846]: packet from
> 86.98.xx.xx:500: initial Main Mode message received on
> 20X.XXX.XX.X:500 but no connection has been authorized

Most of the times this is just a slight mistake in the
configuration somewhere.

Can you check /var/log/messages and see if your l2tp-psk
connection was actually loaded without errors? For instance,
does your ipsec.secrets contain a PSK?

Jacco de Leeuw                         mailto:jacco2 at dds.nl
Zaandam, The Netherlands           http://www.jacco2.dds.nl

More information about the Users mailing list