[Openswan Users] Erro 021 no connection named

Paul Wouters paul at xelerance.com
Mon Oct 31 21:11:10 CET 2005


On Mon, 31 Oct 2005, Frederico Madeira wrote:

> I configure in /etc/ipsec.conf the connection named teste:
>
> conn teste
>     left=200.199.x.x                 # Local vitals
>     leftsubnet=172.16.0.0/24       #
>     leftid=@fw.mycompany.com.br         #
>     leftrsasigkey=.....
>     leftnexthop=200.199.x.x      # correct in many situations (#
>     right=201.32.x.x                # Remote vitals
>     rightsubnet=10.0.0.0/24        #
>     rightid=@fred.mycompany.com.br        #
>     rightrsasigkey=......
>     rightnexthop=%defaultroute     # correct in many situations
>     auto=add                       # authorizes but doesn't start this
>                                    # connection at startup
>
>
> [root at fw etc]# /usr/sbin/ipsec auto --up teste
> 021 no connection named "teste"
>
> I can't understand. The connection existe why i recive this error ??

The connection failed to load. Try: ipsec auto --add teste to get the
actual error, or check the logs for the error on why it failed to load
the conn. Try removing rightnexthop-%defaultroute (the disadvantage of
google, once people started trying it more people are trying it, and it
is at best not needed and at worst causing problems)

Paul


More information about the Users mailing list