VMware Communities
ldanielc
Contributor
Contributor

VPN, NAT, and split tunneling

Hi, all.

I have what I think is an interesting use case.  My employer recently switched to a new VPN solution, and the new VPN solution disallows split tunneling.  It does this by preventing modifications to the routing table once the VPN is established.

For various reasons, I still want to be able to connect to my home VPN.  The main time I want to do this is when I am at home, because the new corporate VPN completely disconnects me from whatever network I am connected to, and while I am at home I really want to be able to access my home network services.  Anyway, I installed OS X in a VM in Fusion, in order to be able to connect to my house.  Some of it works, and some of it doesn't, and I'm hoping someone can help me figure out how to do this.

On the host Mac, I connect to my employer's VPN.  This disconnects me from the local LAN, as it sends all traffic out the VPN.

Next, from a guest OS X VM, I connect to my home OpenVPN server.  This connects fine, and I can SSH to hosts on my home network.  However, NFS frequently disconnects, and I am unable to connect to the web management interface of my NAS: when I connect to https://nas.domain.com, I get redirect to https://nas.domain.com/webman/index.cgi, but then that hangs.

Regarding NFS, I use NFS automount, and while it's a bit slow, it works just fine over my home VPN.

I'm guessing that the problem here has something to do with the way Fusion is handling networking, but I'm not sure.

Anybody have any ideas on how to fix this one?  Thanks.

0 Kudos
1 Reply
ldanielc
Contributor
Contributor

I should add that all of this works perfectly fine if I do it the other way: if I connect to my home OpenVPN from the host OS, and connect to the corporate network from the VM, everything functions perfectly.  However, a much better use case for me is to connect to my home network from the VM rather than the host.

0 Kudos