From: "Marco Berizzi" Subject: Re: ipsec with 2.6.16-rc3-git6 Date: Fri, 17 Feb 2006 09:58:15 +0100 Message-ID: References: <43F58EF6.4010803@trash.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Cc: netfilter-devel@lists.netfilter.org Return-path: In-Reply-To: <43F58EF6.4010803@trash.net> To: kaber@trash.net List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Patrick McHardy wrote: >Marco Berizzi wrote: > > With these rules I'm able to send/receive packets from the two > > private networks each other (172.16.0.0/23<->172.23.0.0/23). > > If I delete the first rule in the INPUT table (on firenze-gateway) > > > > ACCEPT all -- venezia-gateway 0.0.0.0/0 > > > > there is no packet flow inside the tunnel. I don't understand, > > as I accept esp packets in the red-me chain. > >What does your policy look like? root@Halley:~# ip xfrm policy src 172.16.0.0/23 dst 172.23.0.0/23 dir in priority 2377 tmpl src venezia-gateway dst firenze-gateway proto comp reqid 16406 mode tunnel level use tmpl src 0.0.0.0 dst 0.0.0.0 proto esp reqid 16405 mode transport src 172.23.0.0/23 dst 172.16.0.0/23 dir out priority 2377 tmpl src firenze-gateway dst venezia-gateway proto comp reqid 16406 mode tunnel tmpl src 0.0.0.0 dst 0.0.0.0 proto esp reqid 16405 mode transport src 172.16.0.0/23 dst 172.23.0.0/23 dir fwd priority 2377 tmpl src venezia-gateway dst firenze-gateway proto comp reqid 16406 mode tunnel level use tmpl src 0.0.0.0 dst 0.0.0.0 proto esp reqid 16405 mode transport src 0.0.0.0/0 dst 0.0.0.0/0 dir in priority 0 src 0.0.0.0/0 dst 0.0.0.0/0 dir in priority 0 src 0.0.0.0/0 dst 0.0.0.0/0 dir in priority 0 src 0.0.0.0/0 dst 0.0.0.0/0 dir out priority 0 src 0.0.0.0/0 dst 0.0.0.0/0 dir out priority 0 src 0.0.0.0/0 dst 0.0.0.0/0 dir out priority 0