Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
Last edited by blackhole54; 05-11-2008 at 08:16 AM.
Reason: repaired link
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.
Use auto proxy configuration script generated by safesquid proxy.pac or use wpad.
Last edited by prajakta0shimpi; 05-12-2008 at 02:18 AM.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.