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

Steve Zeng SteveZ at airg.com
Mon May 31 21:26:58 EDT 2010


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


More information about the Users mailing list