HTTP Redirect

From DD-WRT Wiki

Revision as of 02:22, 6 October 2006 by AycheKay (Talk | contribs)
Jump to: navigation, search

HotSpot HTTP Redirect (v23b2+)

Option found in "Administration" > "HotSpot" > "HTTP Redirect"

Image:V23-hotspot-menu.png

Image:v23-http-redirect.png


Note: Newer release of v23 now have a field for the proxy's port.

This option enables an HTTP redirector for proxy usage. While it's located on the Hotspot configuration page, Hotspot does not have to be enabled for this option to work properly. The HTTP Redirector works by redirecting all port 80 traffic from the LAN/WLAN to a specified address which could be an HTTP proxy server like Squid, CCProxy, or Winproxy. This feature is especially useful for content filtering in schools, libraries, businesses etc.

It's not completely clear what the purpose of the "HTTP Source Network" setting is. In my tests, setting the IP address in here for only one of the client computers made no difference. All clients were proxied regardless. According to BrainSlayer "you can set a source network which excludes the proxy server", thereby allowing the proxy server to get it's Internet from the same router that has the HTTP Redirector enabled. So far, my tests of this feature, using a WRT54G with v23 SP2, have not produced good results.

Fixing Bad HTTP Redirector Settings

If you entered settings into your router's HTTP Redirector settings that were not correct, likely you are unable to log into the web interface because your request to the router's web server is being redirected to who-knows-where. You can use Telnet or SSH to fix this problem.

Telnet into the router. Enter username and password. Enter the following commands:

cd /usr/sbin nvram http_redirect_enable=0 nvram commit


Related Links: I'm not sure exactly how the DD-WRT interface works, but you can read about how NoCat works at http://nocat.net.