[Openswan Users] Incorrect peerid when connections are behind NAT

Paul Wouters paul at xelerance.com
Thu Jan 28 17:02:23 EST 2010


On Thu, 28 Jan 2010, Randy Wyatt wrote:

> Both gateways are behind NAT’ed firewalls so I have a network
> configuration something like this:

> Jan 28 12:26:26 rwwyatt pluto[15347]: "home-to-devnet" #66: Main mode
> peer ID is ID_IPV4_ADDR: '10.1.XXX.YYY'
> 
> Jan 28 12:26:26 rwwyatt pluto[15347]: "home-to-devnet" #66: no suitable
> connection for peer '10.1.XXX.YYY

Use leftid=@foo and rightid=@bar and not IP based identities when you
are playing NAT/port forwarding games.

Paul


More information about the Users mailing list