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.
|
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. |
|||
|
|
|
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. |
|||
|
|
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. |
|||
|
|
|
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" |
|||
|
|
|
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 |
|||
|
|
|
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. |
|||
|
|