[Openswan Users] Can't find conn

Anirudh Kamatgi akamatgi at gmail.com
Thu Mar 12 05:10:21 EDT 2009


You should be doing an ipsec auto --add first before the ipsec auto --up
command.

On Thu, Mar 12, 2009 at 12:36 PM, <sullivan at mayachitra.com> wrote:

> 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":
>
> $ sudo ipsec auto --up firstTry
> 021 no connection named "firstTry"
>
> but I thought I set it up such that there was a connection called firstTry:
>
> $ more /etc/ipsec.conf
> # right: remote
> # left: local
>
> version 2
> config setup
>     plutodebug=none
>     plutostderrlog=/root/.kde/share/apps/kvpnc/ipsec.mciWizTry.log
>
> conn firstTry
>     authby=secret
>     type=tunnel
>
>     auto=start
>     pfs=no
>     aggrmode=yes
>     keyexchange=ike
>     ike=3des-sha1-modp1024
>     esp=3des-sha1
>     left=%defaultroute
>     right=-work ip-
>     leftid=-the remote FQDN on the router-
>     rightid=-the local FQDN on the router-
>     leftsubnet=192.168.7.0/24
>     rightsubnet=192.168.9.0/24
>
> What am I doing wrong?
>
> Also if anything in the .conf file looks wrong, it probably is, so feel
> free to criticize.
>
>
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20090312/91e224b0/attachment.html 


More information about the Users mailing list