[Openswan Users] How to combine two VPN tunnels

Curu Wong prinbra at gmail.com
Tue Apr 14 00:58:02 EDT 2009


Thanks for your proposal,It works!

Also,I found a strange result:
If I use left=FQDN and right=%any, it will not work.saying that:
022 connection must specify host IP address for our side
037 attempt to load incomplete connection
If I use both left=FQDN and right=IP or FQDN, it will work.

If I use left=%defaultroute,right=%any on gwB,and set
left=%defaultroute,right=<FQDN of gwB>  on roadwarriors as your
suggestion,it will work too.


2009/4/14 Paul Wouters <paul at xelerance.com>

> On Mon, 13 Apr 2009, Curu Wong wrote:
>
>  I found that the book<<Building and Integrating Virtual Private Networks
>> with Openswan>> ,page 91, said that we can use a host name in left= ...
>> and right=.... however,Even after I set USE_DYNAMICDNS?=true in
>> Makefile.inc and compile openswan again,When I add a connection with
>> left=somehost.dyndns.org,it still failed,saying that :
>>
>> 022 connection must specify host IP address for our side
>> 037 attempt to load incomplete connection
>>
>
> For your end, you should use the local ip/hostname or if it is
> dynamic, use %defaultroute. For the remote end, you specify the
> remote ip or the remote dns hostname. Openswan 2.6.22 will have
> some fixes where dynamic dns did not work as expected (eg when the
> name specified did not exist when loading the connection)
>
> Paul
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20090414/48ef9fcc/attachment.html 


More information about the Users mailing list