login
Header Space

 
 

Re: ipsec home network to colo server

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Cc: <lordsporkton@...>
Date: Wednesday, May 14, 2008 - 9:59 pm

> On Tue, May 13, 2008 at 5:41 PM, Lord Sporkton <lordsporkton@gmail.com>

http://www.securityfocus.com/infocus/1859
is the article that started it all for me using ipsec and OpenBSD. It's not exactly geared for one end being dynamic ip though.

I don't have much experience with dynamic addresses, but if my understanding is correct, the best would be as below. 

Let me know if it works, I'm curious, since I've also never done ipsec between a static and dynamic device without an internal subnet on both hosts:


colo /etc/ipsec.conf:

ike passive from 208.70.72.13 to 10.0.0.0/16

home /etc/ipsec.conf:

ike dynamic from 10.0.0.0/16 to 208.70.72.13

(it looks TOO incomplete to me, but hey. IPsec on OpenBSD never ceases to amaze me in it's simplicity compared to other options)

Make sure your pf on both ends is allowing negotiation (which it seems to be). Also, unless you need to apply pf rules to your encrypted traffic, make sure you've got enc0 in your "set skip on" interfaces.

I'd suggest using pubkeys as in isakmpd(8) which should be:

copy /etc/isakmpd/local.pub from colo to /etc/isakmpd/pubkeys/ipv4/208.70.72.13 on home machine

copy /etc/isakmpd/local.pub from home to /etc/isakmpd/pubkeys/fqdn/client.host.name on the colo

That would be better than psk if you can get it working, imho.

Cheers
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ipsec home network to colo server, scott learmonth, (Wed May 14, 9:59 pm)
Re: ipsec home network to colo server, Lord Sporkton, (Wed May 14, 10:52 pm)
Re: ipsec home network to colo server, Lord Sporkton, (Thu May 15, 12:09 pm)
Re: ipsec home network to colo server, Claer, (Fri May 16, 2:06 am)
Re: ipsec home network to colo server, Lord Sporkton, (Sat May 17, 8:21 pm)
Re: ipsec home network to colo server, Jose Quinteiro, (Sat May 17, 8:45 pm)
Re: ipsec home network to colo server, Lord Sporkton, (Sat May 17, 8:58 pm)
Re: ipsec home network to colo server, Jose Quinteiro, (Sat May 17, 9:41 pm)
speck-geostationary