Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to use VPN connection for only one program and the rest of the traffic go through the local network?

More specifically, I am using the Official Cisco Client.

share|improve this question

migrated from stackoverflow.com Jan 18 '11 at 13:19

5 Answers

Usually the only thing you can do is configuring a split tunnel based on a policy (e.g. target IP range/mask, see the examples at Cisco). If your program is only communicating with that IP, that would have the same effect for your purpose. However, this must be configured on the VPN-server side by the administrator.

share|improve this answer
I guess I should of specified. I really need a client side solution. I do not control the vpn server – Tyler Jan 17 '11 at 17:45

You could install a virtual machine and run the cisco vpn together with your program of choice on the virtual machine while keeping you normal working environment connected normally.

share|improve this answer

If you go to the Cisco VPN client and go to Preferences. Uncheck "Enable local LAN access (if configured". For myself, I am using a remote desktop connection to a remote location and my local browser resolves to my local IP.

I am using the "Cisco AnyConnect VPN Client"

share|improve this answer

You can set the routing for only one (or a selection of) ports to go through the VPN with other network access to go normal.

Setting say one browser to use the VPN (on port 80) and all the others to use direct is trickier

share|improve this answer

On Windows®, it is possible to use VPN to communicate only with one or few hosts by specifying needed route entries (see "route /?"), but this works on per remote host basis. On linux/freebsd it is possible to start program with non-default routing table, so it does the trick: all applications use default routing table and traffic goes to local network and one specific program uses other routing table and traffic goes throw VPN.

share|improve this answer

Your Answer

 
discard

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.