What's new

Block instagram for two devices

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

bilboSNB

Senior Member
On the basis I already use opendns set as the routers dns server and use dnsfiltering to force all devices to use the router for dns and I use dnsmasq on the router for certain things.

What would be the best way that fits in with this to block instagram for two devices? I am thinking a fire wall rule.
 
Last edited:
You can add specific domains to block within OpenDNS. That would be the easiest way to block Instagram. You would probably have to use a separate DNS for the other devices on the network though, if you wanted to allow Instagram access on other devices.
 
I've just gone with

Code:
iptables -I FORWARD -s 192.168.0.2 -d  instagram.com -j DROP

Not exactly elegant but it works. Probably a dynamically updating ipset rule would have been better.
 
I would change the jump target for this:

Code:
-j REJECT --reject-with tcp-reset

That way, the connection will immediately be rejected, rather than getting stuck for 30-60 secs.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top