Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to configure a proxy server:

  1. which will allow my clients to connect to my proxy server then
  2. they will be able to see a login page.

When I asked some IT gurus they told me "configure the forwarding url in proxy".

How do I achieve this? What kind of proxy should I use?

share|improve this question
Are you trying to set up a WiFi hotspot, an internal proxy for a company, or something else? – Michael Hampton Jul 26 '12 at 22:31
Hi Michael, no i m not trying to set up Wifi, yes i m setting a proxy, any ideas ? – bob Jul 27 '12 at 15:04

Have you tried any hotspot services? Like Chilli Spot, etc.

Also you may be interested in special distros for routers which include such features including hotspot out-of-box: pfSense, m0n0wall, mikrotik, etc.

share|improve this answer
I remember working with M0n0wall before, how do i set it to forward clients to particular location.. – bob Jul 26 '12 at 22:33
Generally, you can redirect all forward traffic which goes to dest.port 80/tcp (for example) to the local port where you have your own proxy with your own rules, or http-server with login script, or anything else (depends on your config) – Denis Jul 26 '12 at 23:14
So you saying if i configure (in this case squid) http_server with a url it will forward all the traffic to that particular link ? – bob Jul 27 '12 at 15:05
In your particular case: 1) Redirect all http-traffic from unauthorized users to your http-server with an authorization engine; block all other thraffic; 2) Once client passed the check, auth engine adds forward rule for him in firewall, and excludes the client from auth page redirect rules. In other words, it's a combination of firewall, http-server and some auth engine. All hotspot services work this (or similar) way. – Denis Jul 27 '12 at 16:39
In other words, you can set redirect to auth engine (http-server) with firewall rules for all clients by default, and auth engine should manage redirects/allow/forbidden rules for particular clients through firewall rules modification. As for 'squid login page' you've asked for, squid doesn't provide such feature. All you can do with out of box it is to disable transparent mode, switch the http authorization on and manually set this squid server as proxy in clients' browsers along with users credentials (login/pass) to access it. – Denis Jul 27 '12 at 16:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.