You should be doing an ipsec auto --add first before the ipsec auto --up command.<br><br><div class="gmail_quote">On Thu, Mar 12, 2009 at 12:36 PM, <span dir="ltr"><<a href="mailto:sullivan@mayachitra.com">sullivan@mayachitra.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi. I have, hopefully, an easy question. I'm trying to connect to my work's netgear VPN. 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> plutodebug=none<br> plutostderrlog=/root/.kde/share/apps/kvpnc/ipsec.mciWizTry.log<br><br>conn firstTry<br> authby=secret<br> type=tunnel<br> <br> auto=start<br> pfs=no<br>
aggrmode=yes<br> keyexchange=ike<br> ike=3des-sha1-modp1024<br> esp=3des-sha1<br>
left=%defaultroute<br> right=-work ip-<br> leftid=-the remote FQDN on the router-<br> rightid=-the local FQDN on the router-<br> leftsubnet=<a href="http://192.168.7.0/24" target="_blank">192.168.7.0/24</a><br>
rightsubnet=<a href="http://192.168.9.0/24" target="_blank">192.168.9.0/24</a><br><br>What am I doing wrong? <br><br>Also if anything in the .conf file looks wrong, it probably is, so feel free to criticize.<br><br><br>
_______________________________________________<br>
<a href="mailto:Users@openswan.org">Users@openswan.org</a><br>
<a href="http://lists.openswan.org/mailman/listinfo/users" target="_blank">http://lists.openswan.org/mailman/listinfo/users</a><br>
Building and Integrating Virtual Private Networks with Openswan:<br>
<a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155" target="_blank">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a><br>
<br></blockquote></div><br>