Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This is going to be a difficult question, and I really hope someone can help me out here.

I have mentioned before, my son has a Nexus 4 and wants to use Google Now, I have k9 web protection enabled on it, which blocks Google Now, as there is no way to force safe search for google images. However, I have found some interesting information, which I would like to put into practice. According to Google, one can:

2) Update the router configuration

To enable SafeSearch throughout a school network, you can use a proxy server to append &safe=active or &safe=on directly to all search URLs. This will enable strict SafeSearch.

Google Sends search queries along URL paths like google.com/search?..., google.com/images?..., google.com/s?... Schools that activate SafeSearch with a proxy should keep their filters updated to include /search, /s, and /images URLs.

So, I would like to do this. I am not experienced in this, so I was wondering how I would go about this. I just have an AT&T Wi-Fi router. I am guessing I will need my own computer for this, which is a Mac, OS X 10.8.2, on WiFi.

In summary, I need to know how to set up a proxy server on my router, and enable this change of query, on EVERY device. Actually, if that is too difficult, just the phone. Thanks.

share|improve this question
1  
Not strictly an answer to your question but have you tried OpenDNS - www.opendns.com - the only thing you need to change at your end are the DNS settings on your router. The free (home) service is pretty good and well worth investigating if you have not tried it. As your kids get more technically sophisticated there are ways to route around this solution but kids learn to defeat most solutions eventually. –  BJ292 Dec 23 '12 at 21:32
    
Yeah... My kid is going could easily get around that. I have to say he is probably one of the most technically advanced kids I have met. 14 and he is doing all kinds of programming. –  Josiah Dec 24 '12 at 1:37
    
So don't give him Admin privileges and that would solves this problem so you use OpenDNS. –  EliadTech Dec 24 '12 at 16:56
    
@EliadTech, OpenDNS looks pretty good. You should post that as an answer. –  Josiah Dec 24 '12 at 16:58
    
That was BJ292 idea, I've just completed him... –  EliadTech Dec 24 '12 at 17:06
show 2 more comments

2 Answers

I need to know how to set up a proxy server on my router

First, this isn't possible (in the way you mean). You don't set up proxy servers IN routers. At least, not in a standard DSL/Cable modem/Router that would have been provided.

You set up a proxy server in another device (computer) in the network, and have the router point at it.

I'll use my home network as an example. I have a media converter (changes the DSL/phone line to an Ethernet plug). Next in line is my MacMini Server. It creates the PPPoE connection to my ISP. In the server I am running DHCP (hands out the IP addresses to my network so other computers can connect using WiFi), DNS (handles name services for me), an email server, a VPN server, a caching proxy server, and many other services. The only way to connect to my network through the MacMini is wirelessly. In this way, all clients are forced to go through the services I built.

I mention all this because I am NOT using the stock DSL router that was provided by my ISP.

The process to do all this would be the subject of a book. I did it because I am a network security engineer by trade, and understand the nuances of what I'm doing (and places that I traded off security, speed, and functionality).

I can't recommend this for you, because I don't know all the specifics of your situation. What I can say is that you may want to see about installing something like netnanny on the phone. Other options include researching proxy services that are available commercially and requiring it to use them.

EDIT: Conceivably, you could try and install a version of linux into a modem/router and make this happen. However, you would:

  1. Void warranties
  2. Brick the device if you make a mistake
  3. Potentially cause a problem that gets the attention of your ISP
  4. Not get it to work without compiling a version of Linux to go on it
  5. Have to find a driver to get the modem function to work/write a driver to make this work.

When I say this isn't possible, I mean for a consumer grade situation. If you are an enthusiast and can afford to take all the risks, then it may be the thing for you to try.

share|improve this answer
    
So, it would appear that this is not going to be fairly simple. Netnanny does not help, as it is like K9, where it uses it's own browser, and blocks others. That is not what I want, all I need to be able to do is change any search results and add the safe search tag to them on the phone. –  Josiah Dec 23 '12 at 20:29
1  
It's probably impossible to set up a proxy on a consumer-grade router, but if you have an old PC that you can install linux and squid on, it's not that difficult. There's no technical reason the proxy has to be running on the router. –  user55325 Dec 23 '12 at 21:12
1  
Actually, you can use squid to rewrite URLs using the url_rewrite_program directive in the config file. If you don't want to write the code yourself, you can use something like Squirm also: squirm.foote.com.au –  user55325 Dec 23 '12 at 21:48
1  
@user55325, if you could write an answer showing how to do that, I would really appreciate it! In two days I'll even throw in a bounty to you, although it is not much. –  Josiah Dec 23 '12 at 22:05
1  
@Everett, Your answer is a good one +1, and I'm sure it will help some people, but User55325 and BJ both had good answers. –  Josiah Dec 24 '12 at 18:43
show 6 more comments

I would suggest that you use the Untangle gateway ISO. There is a free version and pay version. I suspect the free version will likely do what you need it to do.

Untangle Gateway is a KNOPPIX-based network gateway with pluggable modules for network applications like spam blocking, web filtering, anti-virus, anti-spyware, intrusion prevention, VPN, SSL VPN, firewall, and more.

For your home use, you can install it on your own computer. For larger installations, they make pay versions that can be purchased on network devices.

http://iso.linuxquestions.org/untangle/untangle-gateway-10.0/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.