[Openswan Users] specifying remote subnets and connecting to individual hosts on a remote vpn

Frank Wilson frank.wilson at sidonis.com
Mon May 18 11:51:43 EDT 2009


We were looking to bring up the connections manually really. 
I guess I'll just go with a simple script.

Thanks for your help,

Frank Wilson

-----Original Message-----
From: Paul Wouters [mailto:paul at xelerance.com] 
Sent: 18 May 2009 16:44
To: Frank Wilson
Cc: users at openswan.org
Subject: RE: [Openswan Users] specifying remote subnets and connecting to
individual hosts on a remote vpn

On Mon, 18 May 2009, Frank Wilson wrote:

> I have this:
>
> conn remote_site_subnet_a1
>   rightsubnet=10.130.245.105/32 # SINGLE HOST ONLY
>   also=remote_site

> ...

> conn remote_site

>   auto=add

> Now if I wanted to bring this connection up manually I would need 6
commands
> and not two as I did earlier. I can't go back to the subnet configuration
> because if Openswan doesn't announce that it wants to connect to
individual
> hosts
> the CISCO ASA will kick me off. I can't really ask the guy on the other
end
> to
> change his configuration for "aesthetic reasons".
> In the end, if I have to, I'll write a script to launch all 6 commands.
> However, I was wondering does openswan have any functionality to group
> connections
> to individual hosts through a vpn gateway into one connection?

If you change auto=add to auto=start, openswan will bring up all 6
connections
on starting.

Paul



More information about the Users mailing list