I have a windows xp desktop with a linux centos vmware image running on it

Due to some issues I am having lately with vpnc on linux, I would like to know if I can route

vpn traffic from linux to windows.

So I will connect to the vpn from windows (with cisco's vpn client) and I would like to route

traffic, for a specific IP, on linux so that it uses windows's vpn tunnel

Is this posible?

Thanks

link|improve this question

62% accept rate
feedback

1 Answer

up vote 1 down vote accepted

You can route your Linux traffic through the Windows (host) VPN session if the Linux guest is setup with a NAT NIC through the hypervisor.

link|improve this answer
How can I verify this my friend? Thanks for the help – Thomas Jul 15 '11 at 11:59
I changed the vm's nic settings from bridged to nat and added an entry on the vm's routing table, so that it sends traffic for the host I want to access on the other side of the vpn, through the IP of the windows host, but no luck – Thomas Jul 15 '11 at 13:19
No need to change any routing tables on the VM once its virtual NIC is set for NAT. – user48838 Jul 15 '11 at 17:41
Excellent mate. Thanks. Worked like a charm. Started the vpn tunnel on Windows, changed the vm's nic to NAT and restarted the network and voilla. – Thomas Jul 16 '11 at 7:34
Glad it worked for you. – user48838 Jul 16 '11 at 10:56
feedback

Your Answer

 
or
required, but never shown

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