<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi !<br>&nbsp;&nbsp;&nbsp; From the ipsec.conf file it seems that your left and right are mixed up. This is what i gather from the ipsec.conf file<br>&nbsp;<br>"rightid=-the local FQDN on the router-"&nbsp; - so you are using right as the "local network"<br>"leftid=-the remote FQDN on the router-"&nbsp; and left as "remote network"<br><br>Since left is "remote network for you" -- hence<br>"left=%defaultroute" -- should actually be "left={ip addr of the left device}". Assigning the "%defaultroute" would be true only for local network.<br><br>Try "ipsec auto --status" to find out if the configuration "firstTry" is loaded into running configuration. If its not - then there is problem in your conn definition and the reason why "ipsec auto --up firstTry" gives you "no connection found" error.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br><span style="font-family: Tahoma,Helvetica,Sans-Serif; font-style: italic; font-weight: bold;">-<span style="font-family: Times New Roman,Times,Serif;"> Simon Charles - </span></span><br><br><br><br><br><hr id="stopSpelling">Date: Thu, 12 Mar 2009 00:06:49 -0700<br>From: sullivan@mayachitra.com<br>To: users@openswan.org<br>Subject: [Openswan Users] Can't find conn<br><br>Hi. I have, hopefully, an easy question.&nbsp; I'm trying to connect to my work's netgear VPN.&nbsp; From the wiki I've hopefully set up my ipsec.conf, and I wanted to give it a try, but trying the tutorial "ipsec auto --up connection-name":<br><br>$ sudo ipsec auto --up firstTry<br>021 no connection named "firstTry"<br><br>but I thought I set it up such that there was a connection called firstTry:<br><br>$ more /etc/ipsec.conf<br># right: remote<br># left: local<br><br>version 2<br>config setup<br>&nbsp;&nbsp;&nbsp; plutodebug=none<br>&nbsp;&nbsp;&nbsp; plutostderrlog=/root/.kde/share/apps/kvpnc/ipsec.mciWizTry.log<br><br>conn firstTry<br>&nbsp;&nbsp;&nbsp; authby=secret<br>&nbsp;&nbsp;&nbsp; type=tunnel<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; auto=start<br>&nbsp;&nbsp;&nbsp; pfs=no<br>&nbsp;&nbsp;&nbsp; aggrmode=yes<br>&nbsp;&nbsp;&nbsp; keyexchange=ike<br>&nbsp;&nbsp;&nbsp; ike=3des-sha1-modp1024<br>&nbsp;&nbsp;&nbsp; esp=3des-sha1<br>&nbsp;&nbsp;&nbsp;
 left=%defaultroute<br>&nbsp;&nbsp;&nbsp; right=-work ip-<br>&nbsp;&nbsp;&nbsp; leftid=-the remote FQDN on the router-<br>&nbsp;&nbsp;&nbsp; rightid=-the local FQDN on the router-<br>&nbsp;&nbsp;&nbsp; leftsubnet=192.168.7.0/24<br>&nbsp;&nbsp;&nbsp; rightsubnet=192.168.9.0/24<br><br>What am I doing wrong?&nbsp; <br><br>Also if anything in the .conf file looks wrong, it probably is, so feel free to criticize.<br><br></body>
</html>