Sounbar accessible only from specific device

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
MikeMeistro
DD-WRT Novice


Joined: 30 Jun 2017
Posts: 2

PostPosted: Sun Jul 09, 2017 19:52    Post subject: Sounbar accessible only from specific device Reply with quote
My Philips soundbar can be used in combination with the Spotify App (Spotify Connect) so everyone connected to the same network can get control over it and play their music.
The soundbar doesn't give me any options to control access so I want to change it with the router.

Using the command "iptables -I FORWARD 1 -d 192.168.x.x -j DROP" I can block access to the soundbar but (my question):

How can I allow traffic between a specific device (my pc and/or smartphone) and the soundbar and still have other devices trying to access blocked.

Please help me

Mike
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sun Jul 09, 2017 20:14    Post subject: Reply with quote
The soundbar needs to be on another sub-net than the other devices for iptables to work.

iptables -I FORWARD 1 -s 192.168.y.y -d 192.168.x.x -j ACCEPT
iptables -I FORWARD 1 -d 192.168.x.x -j DROP
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum