When guests log in to their Spotify account over the wifi, the bar gets thrown out. I would like to have in place a setup where I could still use Spotify, but have it blocked for our guests. We use a standard wireless router from our telephone provider (Telefonica), the brand is "Comtrend" (Unfortunately I'm pretty blank when it comes to access hardware and such). Suggestions?

  • All of this can be done yes but we'd need to know what existing router-type equipment you already have first.
    – Chopper3
    Mar 14, 2011 at 12:47
  • @Hurragutt Whereabouts in Spain are you? I only ask, as I'm visiting Barcelona this week :) Mar 14, 2011 at 13:26
  • Down south in Cadiz, but Barcelona rocks too!
    – Hurragutt
    Mar 16, 2011 at 9:21

4 Answers 4


To solve this problem as a bar owner:
Hire an IT professional

To solve this problem as an IT professional:
Set up your edge device to block traffic to certain domains and IP addresses.

  • 1
    Thanks WesleyDavid, that was really helpful. More quality answers like that and Joel Spolsky should have nothing to worry about.
    – Hurragutt
    Mar 16, 2011 at 9:23
  • 5
    +1 An answer befitting an of-topic question. @Hurragutt, last time I checked bar owners didn't fit the profile of an IT professional. Please read the FAQ. Mar 16, 2011 at 10:09
  • 4
    I suspect it would have got a less favourable answer on SU. Mar 16, 2011 at 10:16

How much control do you have over your WiFi / LAN settings? Is it a combined WiFi router, or is it just an access point?

Some WiFi routers have built-in firewalling. If you can block the great unwashed from accessing then you'll block off Spotify's IP range. You can exempt yourself from the block by giving your computers static IPs that aren't blocked by this rule.

  • It's a simple Comtrends router, provided by Telefonica (I'm in Spain), but I should be able to block the range you mention. Thanks! Do you think OpenDNS.org could do the trick as well?
    – Hurragutt
    Mar 14, 2011 at 13:01
  • I have no experience with OpenDNS, but if they allow you to block lookups for Spotify, then that could work. Mar 14, 2011 at 14:06
  • 2
    Using OpenDNS will only work for PCs that are using OpenDNS for their DNS servers. Since you are dealing with random PCs connecting to your network and have no control of their DNS settings, OpenDNS will not help.
    – KJ-SRS
    Mar 14, 2011 at 19:48
  • 3
    @KJ-SRS: The vast majority of those random PCs are going to use the DNS servers they get from DHCP, so he/she does have control over those DNS settings.
    – derobert
    Mar 14, 2011 at 21:35

The cheapo comtrends that telefonica most probably supplies to its customers cannot do what you want.

If you are serious then pop down to your local tech store or browse amazon and get a new device. Most of the ones you have to buy have what you need which is basically filter the incoming and outgoing traffic.

  • I agree with this run Pfsense
    – Jacob
    Mar 16, 2011 at 10:36
  • I second pfSense.
    – emgee
    Apr 6, 2011 at 2:51

I'm not too familiar with spotify but I'd venture to guess that it uses standard web-browsing ports to tunnel traffic. Unless you want to invest in a next-generation firewall that is application aware like a Palo Alto Networks or even the latest Sonicwall, there is usually a way around.

You could try other methods, blocking by DNS entry...

What kind of firewall is in place today?

You must log in to answer this question.

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