0

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?

bob
  • 1

1 Answers1

0

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.

Denis
  • 473
  • 3
  • 9
  • 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