masquerade & ipsec
Hello,
I am running kernel 2.6.16-1.2115_FC4 - I have network that looks like this:
FreeBSD FC-4
10.0.128.0/17 <-> 10.0.254.254-65.162.x.x ipsec tunnel 24.x.x.x-192.168.2.1 <-> 192.168.2.0/24
Some change recently caused masquerading to happen on my FC-4 box before ipsec happens
so my packets from my 192.168.2.0/24 network have the source address changed to my external interface address and don't get picked up by the SA. If I turn off masquerading then ipsec works again. I didn't use to have this problem.
Ideas?
TIA,
Steve
I
Signature · 3 lines
"They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson)
Quoted 9 lines · Stephen Clark
Hello,
I am running kernel 2.6.16-1.2115_FC4 - I have network that looks like this:
FreeBSD FC-4
10.0.128.0/17 <-> 10.0.254.254-65.162.x.x ipsec tunnel 24.x.x.x-192.168.2.1 <-> 192.168.2.0/24
Quoted 6 lines
Some change recently caused masquerading to happen on my FC-4 box before ipsec happens
so my packets from my 192.168.2.0/24 network have the source address changed to my external interface address and don't get picked up by the SA. If I turn off masquerading
then ipsec works again. I didn't use to have this problem.
You can use the policy match to exclude the packets that should be handled by IPsec from masquerading. Or simple do it by address.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Stephen Clark
Quoted 6 lines · Patrick McHardy
You can use the policy match to exclude the packets that should be handled by IPsec from masquerading. Or simple do it by address.
Quoted 6 lines
Thanks for the response.
I figured out how to do during the time between my post 7/1/06 and when it showed on list 7/5/06 ( can anyone tell me why it takes so long for post to the netfilter-devel list, when I post to linux-kernel it shows up within a few minutes ).
As a non-subscriber your posts are held until the list moderator approves them. Usually he's pretty quick.
Quoted 3 lines
When I worked for Data General we used call this the UTF ( Universal Time Filter ) hopefully
the customer had figured out his problem by the time we got back to him.
:)