how to direct connect some apps?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
.Mohsen
OpenVpn Newbie
Posts: 2
Joined: Sun Sep 13, 2015 3:06 pm

how to direct connect some apps?

Post by .Mohsen » Sun Sep 13, 2015 3:26 pm

Hi.
I'm using OpenVpn on Linux Mint, I wonder if there is any way to let only some specific applications use the openvpn tunnel?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: how to direct connect some apps?

Post by Traffic » Mon Sep 14, 2015 12:46 pm

You may be able to use "policy based routing" ..

https://www.google.co.uk/?gws_rd=ssl#q= ... ed+routing

.Mohsen
OpenVpn Newbie
Posts: 2
Joined: Sun Sep 13, 2015 3:06 pm

Re: how to direct connect some apps?

Post by .Mohsen » Tue Sep 15, 2015 6:10 am

Traffic wrote:You may be able to use "policy based routing" ..

https://www.google.co.uk/?gws_rd=ssl#q= ... ed+routing
I'm sorry I made a mistake, Actually I'm using openconnect via terminal, I saw the link you suggested but will you explain a little further?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: how to direct connect some apps?

Post by Traffic » Tue Sep 15, 2015 1:30 pm

Unlike, for example: a software firewall, OpenVPN cannot route specific applications or even ports. Policy based routing can but that is outside the scope of this forum.
.Mohsen wrote:Actually I'm using openconnect via terminal
See: http://www.infradead.org/openconnect/

Post Reply