[lkml]   [2003]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectNAT + IPsec in 2.6.0-test2
OK, I finally got racoon to work and have IPsec working great with a
2.6.0-test2-mm1 kernel on my home Internet gateway system. However,
I've hit another issue. In my previous setup with the 2.4.20 kernel and
SuperFreeS/WAN it looked like this<-IPsec->{}--

Basically the IPsec tunnel had only a single IP address on the remote
end then any packets from the home internal network ( were
SNAT to the before being sent via the tunnel. This hid my
home network behind a valid IP at my work network and worked flawlessly
with 2.4 and SuperFreeS/WAN.

I've got the identical setup with kernel 2.6 and racoon. I get the
tunnel up and everything works great from the gateway system, but none
of the systems on my home network can access the systems on the work
network. It seems that packets passing via IPsec are bypassing the NAT
rules, although that's mostly just a guess at this point.

Is there anything written that describes how the kernels IPsec
implementations interacts with iptables? I've searched the linux-kernel
archives and Google but turned up empty (although I found the question
asked one time before). Any help would be greatly appreciated.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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