[Openswan Users] Configuration for both pure ipsec and l2tp/ipsec clients

Paul Wouters paul at xelerance.com
Tue Jun 15 09:00:25 EDT 2010


On Tue, 15 Jun 2010, hayate wrote:

> I want to set up a VPN for my Nokia cellphone and ipad, so I need a
> config for both clients. Here is mine, please see if it is right:

[ conn without specifying leftid/rightid]

> I have a problem currently: If I connect to the server it will fail,
> but after waiting for a while I reconnect it, it will succeed. It's
> strange.

I can't say more without logs, but:

> ps: I have a question still: Why can the ipsec server tell the
> cellphone client from the ipad client because they may behind the same
> NAT?

It cannot, unless you differentiate the connections with proper leftid=/rightid=

Paul


More information about the Users mailing list