Jonathan De Graeve wrote:
>A Proxy request isn't the same as a normal http request, (somebody
>correct me if I'm wrong) but normally this 'solution' shouldn't work.
From my pactice - the http proxy request is seen as normal http request.
>If anybody has a cleaner idea to solve this problem I'm willing to
>consider implementing this into m0n0wall
I think it could be done by two ways:
1. By defining an additional parameter in "captive portal" configuration
-for an example "proxy port"
and tell cative portal to redirect to login page request to tcp 80 port
and tcp "proxy port".
2. Something "like transparent proxy"
In firewall rule table add an option to compose "redirection rule"
For example from IP or IP group to any IP port 80 to ----->Proxy IP
address, proxy port
So administrator can define who should to use the proxy and request are
send from LAN to 80 TCP port, so captive portal will have no problem to
send a request to login page if station is not authenticated yet