[Openswan Users] Error using PSK
Paul Wouters
paul at xelerance.com
Mon Nov 16 18:36:31 EST 2009
On Mon, 16 Nov 2009, simon charles wrote:
> Your ipsec.secrets file is in the wrong directory
>
> > cat /etc/ipsec.d/ipsec.secrets
> > a.b.c.d %any: PSK "myPSKkey"
>
> It needs to be "/etc/ipsec.secrets"
No. fedora/rhel have a global include in /etc/ipsec.secrets for /etc/ipsec.d/*secretes.
> > #You may put your configuration (.conf) file in the "/etc/ipsec.d/" and
> > uncomment this.
> > #include /etc/ipsec.d/*.conf
> > cat /etc/ipsec.d/ToHome.conf
Looks like you are not loading your *conf files.
> > Nov 16 21:58:59 green pluto[11263]: packet from A.B.C:D:500: initial
> Main
> > Mode message received on a.b.c.d:500 but no connection has been
> authorized
> > with policy=PSK
So no connection could be picked, because none were loaded.
Paul
More information about the Users
mailing list