My suggestion is that you install xinetd from optware packages and then create a wrapper script which replaces http service at port 80.
This script should reconfigure iptables for forwarding to server and wakes the server.
Additionally you can install thttpd server and run it in -D mode in script before reconfiguring iptables and waking server. This will enable visitors to see DELAY notice. HTML page should include
Code:
<META HTTP-EQUIV=Refresh CONTENT=300>
Of course this could also be solved with firmware, with simple reconfigure of busybox applets. But this requires knowledge of firmware compilation.
You should include inetd applet and set httpd to be run from inetd!
I dont know why, inetd is not included in Oleg firmware as this saves memory. Maybe because memory is so tight that it is safer to run as daemons.
HM. I think that this requires Oleg 7b firmware which has http_lanport patch as inetd has to live on port 80, to detect requests. Move GUI elsewhere.
Hope this helps you start. Write a WIKI page when you finished.
And why not running http server on router itself?