Lineup Signup
Hi! We're just rearranging some Desktop boards to make it easier to find what you're looking for. Please bear with us, and we'll be done very soon.
To post a new question or issue, please go here: Desktop (Windows), Desktop (Mac), Desktop (Linux), Web Player.

Block spotify for iptables

Reply
Highlighted

Block spotify for iptables

78matias78
Newbie

Hello I need to block spotify by iptables. Find these spotify ip ranges:

 

- 78.31.8.0/21
- 193.182.8.0/21
- 194.68.28.0/22
- 193.235.32.0/24
- 193.235.203.0/24
- 193.235.206.0/24

 

I have doubts with the rules to throw everything serious so the first for example:

 

-I FORWARD -d 78.31.8.0/21 -j DROP

 

And give exepcion to an ip would be something like this:

 

-I FORWARD -s 172.xxx.xxx.xxx/32 -d 78.31.8.0/21 -j ACCEPT

 

Anyone know if this can be done this way with spotify. I look forward to your response from now, thank you very much, greetings.

SUGGESTED POSTS