0
I would like to prevent access to adult websites on iPads by filtering them out. How can I stop people if they know the websites IP ?
Allow me to explain a bit further.
I have set up OpenDNS's Family Shield as the default DNS provider for my home network and forced all DNS connections to go through it by blocking outbound UDP/TCP traffic on port 53 on my router. Now I am looking for a way to block any attempt to access websites by typing their IP addresses directly, which makes the DNS config useless. Would this be possible ?
Note :
OpenDNS is set to Family Shield which, as the name suggests, filters adult content and connections to proxies. I do not have a spare computer at home on which I could install something like Untangle. I do not want to block internet access, but block that which is unwanted : the one that would be blocked by Family Shield and that the user would manage to access because they know the website's IP.
3Um isn't that how the internet works. DNS just gets an IP address everything after that is done by IP address. – Brad Patton – 2013-03-15T16:56:05.707
1Plus, if you're just trying to prevent internet access for users on the inside of your network, you can always leave the default gateway blank on the inidividual machines, or set your DHCP up that way. – Chad Harrison – 2013-03-15T17:01:37.557
1What you want is not possible. – Ramhound – 2013-03-15T17:03:47.207
1Why would you want to force a DNS lookup if you already have the IP address? – Der Hochstapler – 2013-03-15T17:10:39.020
@Ramhound: it is very much possible to block certain addresses. – Ярослав Рахматуллин – 2013-03-15T17:10:41.197
http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem – Der Hochstapler – 2013-03-15T17:19:28.667
Your updated version is much better. I even think it deserves a +1 – Scott Chamberlain – 2013-03-15T17:27:31.350
1I don't think what you want is possible. If I understand correctly you want to force every request to go through OpenDNS's DNS filtering service, which is great. However, after a device uses DNS to lookup an IP, there isn't an easy way for a firewall to determine if a request to that IP had a matching DNS query or if it was just typed into the browser/client application. – heavyd – 2013-03-15T17:31:49.250
@heavyd it is possible, he will need to set up a proxy server before the gateway (or in the gateway if his router supports ddwrt) that can subscribe to an blacklist that lists IP's for it's filtering. – Scott Chamberlain – 2013-03-15T17:35:12.353
I do have the possibility to set up dd-wrt on my router ! Does this offer a solution to my problem ? – Ismael Lemhadri – 2013-03-15T17:37:13.360
@momo1729 I think so, but I don't know how to set it up personally. Hopefully you will get a answer that explains how to set it up. – Scott Chamberlain – 2013-03-15T17:37:58.933
@ScottChamberlain, agreed a proxy will work, but that also obviates the need for OpenDNS, other than adding an additional layer of protection. – heavyd – 2013-03-15T17:38:23.360
I would like to add that anyone who would think of browsing directly to an IP to circumvent OpenDNS, is probably capable of defeating most other obstacles suggested here. – Marcks Thomas – 2013-03-15T17:41:33.907
@MarcksThomas I was thinking the same thing. These people would have to have some serious motivation to use a different device in order to look up an IP address and go back and type it in on the iPad. Risk mitigation not risk elimination. – user142485 – 2013-03-15T19:34:36.823