mune
February 1st, 2011, 01:56 AM
I got an idea, it is so simple that it would be amazing if someone have already found a solution.
My idea is this
A proxy P runs on port 8181 (or whatever) and it only forward the connections to the apache on port 80 only if the user connecting has signed a random script from the proxy. Did that, the proxy is transparent for that IP (for the next -say- 6 hours).
The Apache http server only accepts connection coming from localhost (the proxy P, so if the client tries to go directly to the server all it gets is an error).
It can work with a wiki, wordpress, ..., whatever would be running on the http server.
I googled a lot without finding anything, which is strange as it seems pretty easy. If it wasn't there either I'm a genius or I'm dumb and I'm missing something.
Anybody can give a hint?
Thanks
Fede
My idea is this
A proxy P runs on port 8181 (or whatever) and it only forward the connections to the apache on port 80 only if the user connecting has signed a random script from the proxy. Did that, the proxy is transparent for that IP (for the next -say- 6 hours).
The Apache http server only accepts connection coming from localhost (the proxy P, so if the client tries to go directly to the server all it gets is an error).
It can work with a wiki, wordpress, ..., whatever would be running on the http server.
I googled a lot without finding anything, which is strange as it seems pretty easy. If it wasn't there either I'm a genius or I'm dumb and I'm missing something.
Anybody can give a hint?
Thanks
Fede