Page 1 of 1
Add exceptions in OpenVPN?
Posted: Tue Dec 16, 2014 2:29 am
by LuisNara
Hi, i 'm using PIA VPN wyh default client, but i need to add some exceptions,
is this possible with OpenVPN?
Excpetions wiil be especially websites like hotmail, yahoo mail etc.
but will be ok, if i can add programs exceptions like skype.
Is this possible?
Thanks

Re: Add exceptions in OpenVPN?
Posted: Fri Dec 19, 2014 12:58 pm
by Traffic
OpenVPN cannot add exceptions by program name.
It is possible you could add routing exceptions to your client config something like this:
Your Home PC is 192.168.21.11/24 default gateway
192.168.21.1 (Typical setup)
To your client config file you can try something like this:
Code: Select all
route hotmail.com 255.255.255.255 192.168.21.1
This my not be possible for skype as its servers are not named in DNS they are configured by the skype client
So you would have to discover the IP addresses of the skype servers and route them in the same manner.
eg: if your skype client connects to 1.2.3.4/32 then (pia client config):
Code: Select all
route 1.2.3.4 255.255.255.255 192.168.21.1
Re: Add exceptions in OpenVPN?
Posted: Sat Dec 27, 2014 6:43 am
by LuisNara
Traffic wrote:OpenVPN cannot add exceptions by program name.
It is possible you could add routing exceptions to your client config something like this:
Your Home PC is 192.168.21.11/24 default gateway
192.168.21.1 (Typical setup)
To your client config file you can try something like this:
Code: Select all
route hotmail.com 255.255.255.255 192.168.21.1
This my not be possible for skype as its servers are not named in DNS they are configured by the skype client
So you would have to discover the IP addresses of the skype servers and route them in the same manner.
eg: if your skype client connects to 1.2.3.4/32 then (pia client config):
Code: Select all
route 1.2.3.4 255.255.255.255 192.168.21.1
Thank you, but, how cai add all sudomains to exception? like "live.com" has subdomains like "login.live.com" "bay187.live.com" etc..
Thanks again
