[Openswan Users] ipsec verify reports "IP forwarding failed"

Nick Howitt n1ck.h0w1tt at googlemail.com
Thu Jun 3 15:40:25 EDT 2010


Paul,

I reported the same thing to you sometime within the last year and you 
told me not to worry. If it of any interest, it is still happening and I 
am running ClearOS 5.1 (also CentOS based) with openswan 2.6.26.

Regards,

Nick

On 01/06/2010 02:26, Steve Zeng wrote:
> Ok. thanks. So the errors can be ignored since I manually "cat /proc/sys/net/ipv4/ip_forward" does give me result 1.
>
> Steve
>
> -----Original Message-----
> From: Paul Wouters [mailto:paul at xelerance.com]
> Sent: May 31, 2010 5:15 PM
> To: Steve Zeng
> Cc: users at openswan.org
> Subject: Re: [Openswan Users] ipsec verify reports "IP forwarding failed"
>
> On Mon, 31 May 2010, Steve Zeng wrote:
>
>
>> Two or more interfaces found, checking IP forwarding            [FAILED]
>>
>
>> I am running openswan-2.6.24rc5-1 on centos-5.1-i386. I can tell ip_forward is enabled by running:
>>
>> #sysctl -A | grep ip_forward
>> net.ipv4.ip_forward = 1
>>
>           printfun "Two or more interfaces found, checking IP forwarding";
>           open("cat", "/proc/sys/net/ipv4/ip_forward");
>           if(<cat>  == "0")
>           {
>               $reterr = 1;
>               errchk "";
>           }
>
> Paul
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>


More information about the Users mailing list