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

Paul Wouters paul at xelerance.com
Mon May 31 20:14:56 EDT 2010


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