How to route traffic from VM (Parallels) over an Open VPN connection on the host (OS X)

Posted by withakay on Super User See other posts from Super User or by withakay
Published on 2012-04-12T11:12:11Z Indexed on 2012/04/12 11:33 UTC
Read the original article Hit count: 199

Filed under:
|
|
|

Scenario:

I have a Mac running Lion that is connected to an OpenVPN server I have a Windows XP VM (running on parallels, but I don't think this is important) I want to be able to route traffic from the XP VM via the host Mac's OpenVPN connection so that I can log on to a domain.

The remote network is 172.16.0.0/23 (255.255.254.0) Open VPN is configured to supply address in the 10.100.101.0/24 range and sets up the routing to 172.16.0.0 using the gateway 10.100.101.1/32 My local network is 192.16.1.0/24

NOTE: I do not want to install OpenVPN into the XP virtual machine as I would have to use a passwordless key in order for OpenVPN to connect before logon.

Anyone got any ideas?

© Super User or respective owner

Related posts about virtual-machine

Related posts about openvpn