help on how-to force set browser to proxy server
I'm having a little problem with my firewall and SafeSquid. When I try to transparent proxy my wireless users to SafeSquid. SafeSquid prompt the user repeatly to login their information for every element on the page they are requesting. When I manually setting to browser to use SafeSquid directly. The users only have to enter their login information once. Is there away to redirect any request on port 80 to load only one page with javascript to auto config the user's browser to SafeSquid Proxy server. I have the JavaScript page made already. I just need to how to redirect all port 80 request to proxyconfig.html..
My server box: Slackware 11.0 running kernel 2.6.17.13 (Never been recompile yet) 2 ethernet cards - eth0 = internet, eth1 = local network linksys wireless access point Wireless user's computer: Just laptop running Windows Vista Linux Box assigns ip-addresses 192.168.1.200-210 Any and all suggestion on this matter are and is welcome. thank you |
I think you would have to run some sort of web server and redirect requests to it similar to what you do now. Obviously, your requirements for the server are quite minimal! I think there are several small servers to choose from. The one I have played with is the Monkey Web Server (small enough to be included in Damn Small Linux!).
That was my first thought. Upon further reflection, you might be able to script a simple daemon for the purpose using netcat. This might work for the occasional request but I imagine it would have problems scaling. Again, you would need to redirect. |
have you investigated using wpad instead for your proxy auto configurations ?
|
Use auto proxy configuration script generated by safesquid proxy.pac or use wpad.
|
Quote:
Use auto proxy configuration script generated by safesquid proxy.pac or use wpad. |
Use auto proxy configuration script generated by safesquid proxy.pac or use wpad.
|
I think we got the message the first time, yo. . . lawls
Anyway, check out wpad. |
Hi guys,
I came across the response on the safesquid forum for this question - http://www.safesquid.com/html/viewtopic.php?t=2624 So it seems WPAD is the choice of the majority. It was interesting, though, to know that safesquid can serve proxy.pac in real-time to the users, without having to place the file on a web server. I tried it out and it works well. Cheers! |
All times are GMT -5. The time now is 06:28 AM. |