Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Diego Woitasen <diegows@xt...> - 2009-07-21 14:57:19
|
Hi, I'm setting up an escenario where I have two ipsec boxes with Ubuntu and Redhat (ipsec 0.6.7 and 0.3.3). The first have a policy to protect one port: spdadd 0.0.0.0/0 0.0.0.0/0[4104] tcp -P in ipsec esp/transport//require; spdadd 0.0.0.0/0[4104] 0.0.0.0/0 tcp -P out ipsec esp/transport//require; and the second to protect all ports: spdadd 0.0.0.0/0[500] 0.0.0.0/0[500] any -P in none; spdadd 0.0.0.0/0[500] 0.0.0.0/0[500] any -P out none; spdadd 0.0.0.0/0 0.0.0.0/0[53] any -P out none; spdadd 0.0.0.0/0[53] 0.0.0.0/0 any -P in none; spdadd 0.0.0.0/0 0.0.0.0/0 any -P in ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 any -P out ipsec esp/transport//require; Also, the Redhat box have a policy to connect to 4104 of Ubuntu: spdadd 0.0.0.0/0 ubuntu[4104] tcp -P out ipsec esp/transport//require; spdadd ubuntu[4104] 0.0.0.0/0 tcp -P in ipsec esp/transport//require; When I try to connect from Redhat to Ubuntu port 4104 the ISAKMP-SA is established but I get an error with IPSEC-SA: Jul 17 12:01:29 ubuntu racoon: ERROR: no policy found: 10.2.1.86/32[500] 10.2.1.83/32[500] proto=any dir=in Jul 17 12:01:29 ubuntu racoon: ERROR: failed to get proposal for responder. Jul 17 12:01:29 ubuntu racoon: ERROR: failed to pre-process packet. If I remove all policies from Redhat except these: spdadd 0.0.0.0/0 ubuntu[4104] tcp -P out ipsec esp/transport//require; spdadd ubuntu[4104] 0.0.0.0/0 tcp -P in ipsec esp/transport//require; It works. Regards, Diego -- Diego Woitasen XTECH |