[Openswan Users] esp string error: enc_alg not found

Paul Wouters paul at xelerance.com
Sat May 22 17:06:04 EDT 2010


On Fri, 21 May 2010, Steve Zeng wrote:

> 2) if I ping from one machine within mynetwork(192.168.1.0/24) to one instance within Amazon VPC (10.0.0.0/24), it does not get any response.
>
> When I look back my ipsec.conf, I realized that there is no subnet configs for either 192.168.1.0/24 or 10.0.0.0/24. I suspect that is the cause. So How can I add them in? I tried with
>
> 	  leftsubnets=    169.254.255.2/30, 192.168.1.0/24
>        rightsubnet=    169.254.255.1/30, 10.0.0.0/24
>
> but it does not seems the right syntax.
> syntax error, unexpected STRING, expecting EOL [192.168.1.0/24]

Either use leftsubnets={169.254.255.2/30, 192.168.1.0/24} or create a second conn with a differet name,
and different subnet= (singular) lines.

Paul


More information about the Users mailing list