IPSec SPD
Victor Sudakov
sudakov at sibptus.tomsk.ru
Thu Nov 1 03:53:29 PDT 2007
Brian A Seklecki (Mobile) wrote:
> >
> > Suppose our remote office uses the 10.1.1.0/24 network, and the whole
> > company uses the 10.0.0.0/8 network.
> >
> > How do we set up the SPD entries to encrypt traffic to the
> > headquarters and back?
> >
>
> I do hub a spoke config just like this using OpenBSD and Cisco VPN3k
> using /24s at the edge and /16s at the core. All works well. Better
> than full mesh.
>
> I just ran into a small bug with the new Ipsec stack in OpenBSD where I
> had to have a "null" policy -- otherwise traffic with destination routes
> for the locally connected /24 would accidentally be fwd'd across the
> tunnel (because ipsec tunnel evaluation happens earlier in ip_output(),
> which is non-standard)
>
>
> > spdadd 10.0.0.0/8 10.1.1.0/24
> > ...
> > spdadd 10.1.1.0/24 10.0.0.0/8
> > ...
Thank you Brian, this works. I should not have worried.
On FreeBSD 6.2 it works even without any "null" policy (I think you
meant the "none" policy).
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru
More information about the freebsd-questions
mailing list