Proxy Redirect?

Associate
Joined
19 May 2005
Posts
862
Hi All

Currently running clark connect which uses a squid proxy. Now is it possible so that when users open their browser it automatically goes to the intranet first and then they can go to the internet (if we every get the internet)?

Now this is in a lan party environment and not a enterprise one so i cant enforce it through Group Policy or anything. Now i have read up about http redirect and captive portals but i dont think either of them do what i need it to do.

The idea is, is that at the lan aprty we dont ahve the internet so instead of the web browser tryign to look for their normal home page i.e. google.co.uk it will automatically go straight to the intranet page, where all the lan infor is.

Now through a proxy is about the only way i can think of doing it, unless some one else has another idea. Other than telling all users to set the intranet at their home page, because atleast 90% of people wont bother

Any suggestions

Phil
 
Last edited:
HTTPRedirect

Shame your not using IIS you could go along this route
http://kbalertz.com/937691/redirect-requests-exists-within.aspx

However as your using CK then you need the HttpRedirect module for apache a quick google should point you in the right direction.

But i think mod_rewrite is available as DSO in
/usr/lib/apache/modules/mod_rewrite.so

You need a correspondending LoadModule statement in your httpd.conf.

That might do what you need.
 
Configure local DNS server to resolve all address to the Intranet? Everyone will be DHCP @ LAN so this could work nicely, never tried it though.
 
Shame your not using IIS you could go along this route
http://kbalertz.com/937691/redirect-requests-exists-within.aspx

However as your using CK then you need the HttpRedirect module for apache a quick google should point you in the right direction.

But i think mod_rewrite is available as DSO in
/usr/lib/apache/modules/mod_rewrite.so

You need a correspondending LoadModule statement in your httpd.conf.

That might do what you need.

I dont think you have quite grasped what im trying to do here. Im not redirecting a web page, im redirecting clients to a web page as soon as they even try to go to a web page, this means that the redirection takes place even before the computers see IIS, as IIS is simply a method of hosting a web site

Thanks tho

Configure local DNS server to resolve all address to the Intranet? Everyone will be DHCP @ LAN so this could work nicely, never tried it though.

I looked into doing this but it doesn't work quite that simple in practice as dns doesn't like wildcards as such (well windows server 2008 doesn't atleast) there are some linux versions which dont mind em but i dnt wanna have to use it unless i have to

Phil
 
Im not well up on DNS, but i think you can spec your own hostA/Cname record to achieve the same thing.
So if they're home page is X then it'll send them where you specify.
'think' :p.
I'll test it on our DNS's on monday. :p.
 
We use a bluecoat proxy which has the setting to enable you to force the user to read a terms and conditions link before you can get to any sites. Does squid not have a similar feature?
 
Chances of getting all participants to join domain for the period of a lan and have to copy profiles over = Not likely :(
 
BTW, why doesn't a captive portal work for this? There is one in pfSense (free). You can redirect to any webpage you like and it will do authentication too. Take a fiver on the door for anyone who wants Internet access and then create them a username.
Winnar?
 
Back
Top Bottom