Jump to content
Fi8sVrs

Install a Proxy using SQUID3 on Debian 7

Recommended Posts

  • Active Members

This tutorial is to show you how to install a proxy on Debian 7 using SQUID3

In order for this to work correctly you will need to follow these instructions.

First you need to download the script, this can be done by running:

wget http://rmlh.me/dw/squid.sh

Login as root to the server that you will install SQUID on and with our favourite text editor and some copy/paste technique we will create the executable script.

nano squid.sh

Paste the text in the code section above and save the file.

Make it executable with this command

chmod +x ./squid-install.sh

Execute the script and follow the instructions. You will actually only need to enter a username and password that will protect the proxy from anonymous use.

The username and password is shown in clear-text when entering them, this is the only time they will be shown in clear-text so make sure no one is watching over your shoulder.

./squid.sh

When everything is installed you will see the IP and username needed to connect to your proxy.

To add another user you can run this command on the server running your Squid proxy server.

htpasswd -b /etc/squid3/squid_passwd username password

Change username to the username you would like to add and password to the password you would like to use.

Source

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...