<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Solve tanks.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<B>Frederico Madeira</B><BR>
Coordenador de Suporte<BR>
N. Landim Comércio Ltda<BR>
e-Mail: <U><A HREF="mailto:fred@farmaciadospobres.com.br">fred@farmaciadospobres.com.br</A></U><BR>
Fone : (81) 3497.3029<BR>
PABX: (81) 3497.3000<BR>
Fax : (81). 3497.3030
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<BR>
Em Seg, 2005-10-31 às 21:11 +0100, Paul Wouters escreveu:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Mon, 31 Oct 2005, Frederico Madeira wrote:</FONT>
<FONT COLOR="#000000">> I configure in /etc/ipsec.conf the connection named teste:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> conn teste</FONT>
<FONT COLOR="#000000">> left=200.199.x.x # Local vitals</FONT>
<FONT COLOR="#000000">> leftsubnet=172.16.0.0/24 #</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:leftid=@fw.mycompany.com.br">leftid=@fw.mycompany.com.br</A> #</FONT>
<FONT COLOR="#000000">> leftrsasigkey=.....</FONT>
<FONT COLOR="#000000">> leftnexthop=200.199.x.x # correct in many situations (#</FONT>
<FONT COLOR="#000000">> right=201.32.x.x # Remote vitals</FONT>
<FONT COLOR="#000000">> rightsubnet=10.0.0.0/24 #</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:rightid=@fred.mycompany.com.br">rightid=@fred.mycompany.com.br</A> #</FONT>
<FONT COLOR="#000000">> rightrsasigkey=......</FONT>
<FONT COLOR="#000000">> rightnexthop=%defaultroute # correct in many situations</FONT>
<FONT COLOR="#000000">> auto=add # authorizes but doesn't start this</FONT>
<FONT COLOR="#000000">> # connection at startup</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> [root@fw etc]# /usr/sbin/ipsec auto --up teste</FONT>
<FONT COLOR="#000000">> 021 no connection named "teste"</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I can't understand. The connection existe why i recive this error ??</FONT>
<FONT COLOR="#000000">The connection failed to load. Try: ipsec auto --add teste to get the</FONT>
<FONT COLOR="#000000">actual error, or check the logs for the error on why it failed to load</FONT>
<FONT COLOR="#000000">the conn. Try removing rightnexthop-%defaultroute (the disadvantage of</FONT>
<FONT COLOR="#000000">google, once people started trying it more people are trying it, and it</FONT>
<FONT COLOR="#000000">is at best not needed and at worst causing problems)</FONT>
<FONT COLOR="#000000">Paul</FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>