[RndTbl] Routing questions

Sean Cody sean at tinfoilhat.ca
Wed Jun 17 00:04:58 CDT 2009

What you are wanting is sort of like a captive portal.
But this is easier done using squid in transparent mode with a custom  
redirector script (which I've done for April fools pranks so I know it  

On 16-Jun-09, at 7:00 PM, Bill Reid wrote:

> Hi Mike,
> What you want to do goes way beyond what most low end routers are
> designed to do. As you suggest the rules are applied to traffic coming
> into the WAN port and not local traffic. Your proposal also is not  
> just
> IP routing but is also URL routing(i.e more like a proxy).
> The port 80 redirect is available in the mods to the Linksys router  
> via
> firmware replacement(an exmaple is openwrt.org)
> -- Bill
> Mike Pfaiffer wrote:
>> 	The set-up to the question is I picked up a decently modern wireless
>> router to play with. I allow no connection to the internet (nothing  
>> in
>> the WAN port). I have a couple of computers I can connect to the  
>> wired
>> ports of the router (assign static IPs within the subnet but  
>> outside the
>> DHCP range). These machines (both *NIX boxes) will provide services  
>> such
>> as a web server and a mud/game server. The router will allow open  
>> access
>> to anyone who wants to connect (I want to provide my own content for
>> experimentation). Since I have physical control of the hardware I'm  
>> not
>> too worried about security.
>> 	Initially I'd like to be able to redirect all http traffic not bound
>> for my web server to my web server. For example someone trying to  
>> get to
>> Google will get my info page instead. But if someone were trying to
>> access a different page on the same machine would still be able to  
>> connect.
>> 	I've done the RTFM thing and got confused. The manual seems to dance
>> around the issue but doesn't seem to say anything which looks to be
>> appropriate. The firewall is used mainly to filter incoming (from the
>> WAN port) traffic. IP filters control the outbound (to the WAN port)
>> filtering. The routing page talks about routing requests to a  
>> specific
>> IP outside the LAN side. Virtual servers route requests from the WAN
>> side to a specific LAN address. The port forwarding section looked  
>> more
>> like an extension to the firewall page.
>> 	Here is what I'd like to do graphically.
>> Rule 1:
>> LAN requests non-192.168.X.Y web page --> Router says "You must mean
>> 192.168.X.Y" --> Router sends traffic to 192.168.X.Y/index.html
>> Rule 2:
>> LAN requests 192.168.X.Y/whatever.html --> Router passes along the
>> request to 192.168.X.Y web server
>> 	The question is how can I do this? I know I've missed something, but
>> the manual didn't seem to help. I'll admit to not checking Google,  
>> but
>> I'm not sure what search terms to use.
>> 	This ties in with the wireless questions I was asking a couple of
>> months ago. After I get this working I'll be looking at  
>> authentication
>> for other services and extending the range of coverage.
>> 				Later
>> 				Mike
>> _______________________________________________
>> Roundtable mailing list
>> Roundtable at muug.mb.ca
>> http://www.muug.mb.ca/mailman/listinfo/roundtable
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/roundtable


More information about the Roundtable mailing list