How to exclude Skype from VPN?

Got a problem with Viscosity or need help? Ask here!

abandonow

Posts: 3
Joined: Mon Jul 29, 2013 7:20 pm

Post by abandonow » Mon Jul 29, 2013 7:23 pm
Hi, could someone please explain how I can exclude Skype from my VPN connection and route it through my "normal" one?

It seems that Skype has blocked my VPN provider, so I can't connect – and I really need to use it from time to time – and would prefer to have my other traffic behind VPN.

What is the best way of doing this?

Skype server ip's are:
111.221.74.0/24
111.221.77.0/24
157.55.130.0/24
157.55.235.0/24
157.55.56.0/24
157.56.52.0/24
213.199.179.0/24
64.4.23.0/24
65.55.223.0/24

Please see http://pingtool.org/block-skype-connection/ for more info on Skype server ip.

James

User avatar
Posts: 1898
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Tue Jul 30, 2013 2:13 pm
Hi abandonow,

Assuming that the list of IP addresses is correct, you can exclude them from your VPN connection like so:

1. Edit your connection in Viscosity
2. Click on the Networking tab
3. Click the small "+" button at the bottom of the routing table to enter a new route
4. Enter the IP address you wish to exclude in the Destination field (for example 111.221.74.0)
5. Enter the Mask. "/24" is CIDR notation for 255.255.255.0, so enter 255.255.255.0 into the Mask/Bits field
6. Set the Gateway to Local Network Gateway to instruct the traffic to go through your normal network connection
7. Click the Add button
8. Repeat steps 3 to 7 for each route in your list
9. Click the Save button to save your changes

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

abandonow

Posts: 3
Joined: Mon Jul 29, 2013 7:20 pm

Post by abandonow » Tue Jul 30, 2013 6:42 pm
Thank you.

I found it far more efficient to edit the conf file manually (or adding the settings in advanced tab)
Code: Select all
route 111.221.74.0 255.255.255.0 net_gateway default
route 111.221.77.0 255.255.255.0 net_gateway default
route 157.55.130.0 255.255.255.0 net_gateway default
route 157.55.235.0 255.255.255.0 net_gateway default
route 157.55.56.0 255.255.255.0 net_gateway default
route 157.56.52.0 255.255.255.0 net_gateway default
route 213.199.179.0 255.255.255.0 net_gateway default
route 64.4.23.0 255.255.255.0 net_gateway default
route 65.55.223.0 255.255.255.0 net_gateway default
Anyways, I have a couple of feature request:
  • Make an option so you can find the VPN config folder via "Show in Finder" (alternatively name the folder something recognizable instead of a number)
  • If you want people to use the gui to add routing tables, you should make it possible to add multiple ip-adresses at once, and preferable be able to tag the setting (for this instance I would tag it "Skype") so you know what the ip's are refering to.
  • Option to make the preference window to float on top (when you have the dock icon removed)
Again thank you! :)
3 posts Page 1 of 1