Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need help routing over a virtual server to a IPSec tunnel.

I have:

Mac OS laptop (

VMware Fusion

Centos running on VMware ( that has a Cisco IPSec tunnel (

Remote servers on the other side of the tunnel. (

The Cisco IPSec Tunnel is up.

I want my mac to access the remote servers over the tunnel.

I have turned on routing on the centos server. I have added a static route on the mac pointing at (centos server) for the remote servers ( What other changes do I need to make for this routing?

share|improve this question

The VPN head-end would need a route back to your Mac's IP (10.20.4.x) which the Centos box would need to send via the Mac's 192.168.141.x address - unless you have some kind of masquerading / NAT setup on the Centos side.

Generally Cisco has good support on the native Mac side for VPN access, however - particularly the OS X native IPSEC client (at least since 10.6). If you're not trying for some specific lab setup I'd suggest simplifying the whole thing.

share|improve this answer
Cisco doesn't support 64 bit Mac OS yet, so I can't use that. I would like the centos server to NAT the source IP of my laptop. This would allow the routing. – Magd Aug 17 '12 at 1:07
You don't need the Cisco client - the built-in client in OS X works well. I've been using it for the past year or so. – rnxrx Aug 17 '12 at 1:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.