Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Ubuntu 10.10 and have a VPN connection to work. I'd like to leave practically all traffic going through the tunnel so that my machine doesn't become a security vulnerability for my work network. However I feel a bit silly getting my spotify music through the VPN. Two questions:

  1. Does anyone have any reasons why this might be a bad idea?
  2. How do I do it? :)


share|improve this question

What you want to do is called split tunnelling. A previous question asked something similar, but there weren't many useful answers.

To do this you'd need to identify the spotify traffic. This might be a problem because while some of the data goes to/from TCP port 4070 on Spotify's server, it also uses peer-to-peer transfer to other users of the client on a variety of different ports. Therefore it would probably be tricky to configure the VPN to ensure all Spotify traffic didn't go through the VPN.

The details of how to set up split tunnelling depends on which VPN software that you're using.

share|improve this answer
Thanks, yeah that's the problem. I was hoping there might be a way to identify the traffic based on the process and route it through the local gateway. – Andy Jan 9 '11 at 22:14

If you are using Cisco VPN client (I think all vpn clients will have this option, though not tried) -

  • Disconnect from Cisco VPN
  • Click on Transport tab
  • Un-check "Enable local LAN access"
  • Reconnect

Now you should be able to use your Spotify while connected to vpn.

What does "Enable local LAN access" means?

VPN Clients to only access their local LAN while tunnelled into a VPN

share|improve this answer
Hi, thanks for your time, but I'm not sure you're answering the question. I was interested in splitting up the traffic between the VPN and the local gateway, with only Spotify traffic going locally. – Andy Nov 4 '13 at 13:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .