Jump to content
Not connected, Your IP: 18.219.119.163
ZetiX

Exclude program from VPN?

Recommended Posts

Is there any way to exclude a certain program or traffic from VPN connections? Or is it possible to just use VPN for a certain program or traffic?

Share this post


Link to post
Guest

You can exclude IP adresses in Preferences>Routes if that helps  

Share this post


Link to post

Is there any way to exclude a certain program or traffic from VPN connections? Or is it possible to just use VPN for a certain program or traffic?

 

See this post I just made in answer to pretty much the same question:

 

https://airvpn.org/topic/23168-turn-off-vpn-on-specific-applications/?p=62941

 

 

Hi all,

 

I'm pretty new to this and so far I have to save I'm very impressed. One thing I'm wondering though, is it possible to allow specific apps, like the browser to not use the VPN but keeping it switched on.

 

Netflix doesn't seem to like me using the VPN and turning it off completely negates the point of even having a VPN in the first place. So, is there a simple way to turn off the VPN for specific applications?

 

Thanks in advance.

If you are using Windows, see some of the posts in this thread:

 

https://airvpn.org/topic/9491-guide-to-setting-up-vpn-just-for-torrenting-on-windows/?p=49046

https://airvpn.org/topic/9491-guide-to-setting-up-vpn-just-for-torrenting-on-windows/?p=10317

 

Also see this:

 

https://airvpn.org/topic/22408-possibel-to-route-some-programs-to-not-use-vpn/?p=60308

Many of my posts in this forum are on this topic. You could search the forum for them.

 

Quick and dirty:

 

https://airvpn.org/topic/20447-routing-outside-vpn-with-openvpn/?p=52186

 

Pointers (follow the links) methods for Windows and Linux:

 

https://airvpn.org/topic/21050-visit-sites-like-youtube-without-vpn/?p=54367

 

This mentions a way to split traffic for BSD (and may be adaptable to MAC):

 

https://airvpn.org/topic/21340-airvpn-tor-obfs4-bridges/?p=58426

Basically:

 

1) Set up your routing so that the VPN is not used by default, but does allow "source address routing".

 

2) Bind your program to the VPN interface.

 

3) Some programs do not provide that, but do allow you to configure them to use an HTTP or SOCKS proxy. So if you can run the proxy bound to the specific interface, you achieve the same result.

 

4) If there is a danger of the program falling back to using the real IP when the VPN drops, then firewall the program from using the real IP, if possible. In Windows, a specific program may be firewalled. For Linux or BSD this is more complicated.

 

Share this post


Link to post

You can exclude IP adresses in Preferences>Routes if that helps  

Is there any information on how this works? I tried searching the web and forum but can't seem to find any. By IP does it mean local IP/gateway? Or the all the IP addresses that the program uses?

 

 

See this post I just made in answer to pretty much the same question:

 

https://airvpn.org/topic/23168-turn-off-vpn-on-specific-applications/?p=62941

Is using OpenVPN required for this? I'm on Windows 10 and I tried using Eddie with the guide but it doesn't seem to work. I'm only using Eddie as it has more features, a better GUI, and doesn't seem to leak DNS. I will switch to OpenVPN if this is the only permanent way to force programs to a certain connection.

 

ForceBindIP is a decent solution but it doesn't exactly solve my problem. Requires manual run for every program and doesn't save any, it seems to be a good temporary solution, but would prefer a permanent one.

 

SQUID's only downside is that it's only a proxy server. Which would be fine if i just use it for browsers and torrenting, but there are a quite a few programs I use that doesn't support proxy.

 

You can try this project:

https://r1ch.net/projects/forcebindip

 

ForceBindIP is a decent solution but it doesn't exactly solve my problem. Some information is still routed through the VPN. If there isn't a more permanent solution, I might just have to stick with this one.

Share this post


Link to post

...

 

 

See this post I just made in answer to pretty much the same question:

 

https://airvpn.org/topic/23168-turn-off-vpn-on-specific-applications/?p=62941

Is using OpenVPN required for this? I'm on Windows 10 and I tried using Eddie with the guide but it doesn't seem to work.

...

 

 

You can use Eddie. Eddie is just a GUI wrapper for OpenVPN, that does additional IP configuration, that you would otherwise have to do yourself.

 

But you cannot have network lock on, since that prevents any IP interface except the VPN from being used.

 

Also, if you let Eddie pick a different server every time, the local IP address will be different for each connection. So use a torrent client that will bind to the interface, rather than the IP address, or use ForceBindIP to bind the client (e.g. with uTorrent). Later posts in that thread explain how to do this.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...