[Swan] Could not add new connection

Paul Wouters paul at nohats.ca
Wed May 14 21:02:51 EEST 2014


On Wed, 14 May 2014, Ahmed Shabana wrote:

> 
>                 After I added epel repo I installed libreswan successfully ,
> 
> And I starting now to give it a try , but unfortunately it did not obtain the connection I added with below error

> 000 initiating all conns with alias='Conn1'
> 
> 021 no connection named "Conn1"
> 
> Although I removed the hash from this line
> 
> include /etc/ipsec.d/*.conf

There was a bug that did not show errors in the connection when trying
to load these. This will be fixed in 3.9. For now, can you run:

ipsec auto --add Conn1

and then check the secure log (/var/log/secure or /var/log/auth*) for
error messages? There is most likely a syntax error in your connection.

Paul


More information about the Swan mailing list