Tuesday, May 18, 2010

Which Herb Can Replace Tarragon Herb

the webserver as a proxy

In the following tutorial explains I leave you to install and configure Squid on Debian.

First, we need time Squid. On Debian, squid can be easily installed via apt-get.


  • / apt-get install squid

Once Squid is installed go to the config. In / etc / squid / squid.conf is the. Since the complete config file has about 4000 lines, I was so free and just got my geuppt at nopaste. Simply replace your config with mine - because nothing needs to be changed.


Now we need a file that users may access the server and contains the respective passwords of users. For this we simply create the file passwd in the / etc / squid / directory. Ie:


  • / vi / etc / squid / passwd
And now we come to the contents of this file. Since I've been running on my Apache web server does not of course I can not use the command htpasswd. Luckily there so few on the internet "htpasswd generators. Let yourself simply by so generate a password. I used this here.

The line which simply spits out of you now in the passwd file, save it and write.

Squid must now reloaded again because we will have even changed the config. So

  • / etc / init.d / squid reload
And now you can use the proxy. As stated in my config the proxy is running on the port 3128

Squid serves only as a Web proxy and can not deal with Socks. However, if you prefer a Socks proxy I would recommend this one from sp3x. Even if the thing is not quite finished yet:)

In Memory: 3x1t - RIP

0 comments:

Post a Comment