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

Paul Wouters paul at xelerance.com
Mon May 18 11:44:16 EDT 2009


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