On 4/2/04 9:41 AM, "rick tait" <rickt

rickt.org> wrote:
>
> I'm in the process of designing/putting together a VPN over the public
> internet that will link our main facility to a satellite facility. I
> was considering using proprietary devices (Linksys etc) but it struck
> me that an OSX box would probably do the trick just nicely.
"Proprietary" usually means products which only work with products from a
single manufacturer. My understanding is VPN products from Linksys and the
like use open standards like PPTP and L2TP/IPSec which would allow one to
have one brand on one end and another brand on the other.
> HQ OSX Server:
> en0: 192.168.1.x (internal LAN)
> en1: 65.x.x.x (public internet, T1)
>
> Satellite OSX Server:
> en0: 192.168.2.x (internal LAN)
> en1: 66.x.x.x (public internet, SDSL)
>
> Once the two OSX servers can correctly route traffic to/from their own
> respective LANs (and would be appropriately firewalled I might add),
> what options do I have for an OSX to OSX VPN?
>
> The result that I want is that the 192.168.2.x LAN can route to the
> 192.168.1.x LAN and vice-versa. This will be a full-time VPN, and I'd
> love to use OSX for a million and one reasons.
>
> Ideas? Thoughts? Is this so easy that I'm going to kick myself?
It looks like OS X 10.3 Server makes creating a VPN server easy.
<
http://www.apple.com/server/macosx/networking_and_vpn.html>
The trickier part may be making the client auto-connect (and it looks like
both computers would have to run a VPN server and be the client of the
other). You would want it to re-establish the connection on boot but I think
the only native VPN client is the Internet Connection app that would require
having a user account auto-login then a VPN connection auto-login, both
making your server less secure. It may be possible, through shell scripting
and maybe some additional command line programs to have the Satellite
computer create the VPN connection on boot. There may already be a recipe
out there to follow but if it didn't work quite right, troubleshooting it
would be no easy task. Keyword searches in the Fink package list and OS X
section of freshmeat.net did not turn up anything.
It's usually considered a better practice to separate networking
infrastructure (including routing, site-to-site VPN, firewall) from other
services (Web, file & print, directory service, authentication, etc.). OS X
is stable but it still requires rebooting for patches and downtime for
maintenance unrelated to their routing/VPN capability. Just looking one
online store, I found VPN routers for less than $100 and VPN/Firewall
routers for less than $200. I would look for reviews and users' experiences
of specific VPN routers, particularly for site-to-site use as you're
planning, and go with cheap, simple, dedicated boxes.
If you do use OS X for routing & VPN, search macosxhints.com for "vpn,"
there are some hints on split routing so that the only traffic going over
the VPN connection is what has to go over it.