lkml.org 
[lkml]   [2004]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: problem with 2.6.10 + ipsec/tunnel + netfilter
Max Kellermann wrote:
> Hi,
>
> I upgraded my router today to 2.6.10, from 2.6.9-rc3. It has three
> network adapters: ppp0(eth0) for Internet, eth2 is WLAN and eth0 is
> ethernet. My notebooks connected on eth2 use ipsec (tunnel mode,
> 172.28.1.x/32 - 0.0.0.0/32) to secure the wireless connection.
>
> Since I upgraded to 2.6.10, the router won't route packets which come
> from the tunnel. It used to receive ESP packets, decrypted them, got
> the new destination IP address, and routed them like normal incoming
> packets. Downgrading to 2.6.9-rc3 makes the problem disappear.

Cut-n-paste from previous answer to the same problem:

Since Linux 2.6.10-rcX. packets from a tunnel-mode SA are dropped if
no policy exists. You most likely only have an input policy, but no
forward policy. If you use setkey to configure your policies,
duplicate the input policy and replace "-P in" with "-P fwd". If you
let racoon generate the policy you need to upgrade to the latest
version. pluto should already get it right.

Regards
Patrick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.437 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site