Installing a Squid3 proxy server on Debian 8 Jessie

in #tutorial3 years ago (edited)

Installation

Open Terminal or use SSH to connect to your Terminal remotely




Notes: in my case i'll be using putty to connect to my VPS remotely

Install Squid3 and Apache tools.


apt-get update
apt-get install squid3 apache2-utils
apt-get install nano

Backup and replace Squid3 Configuration

Backup current Squid3 settings.

cp /etc/squid3/squid.conf /etc/squid3/squid.conf.bak

Open and replace the content in /etc/squid3/squid.conf with the following:

http_port 3128
auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/.passwd
auth_param basic children 1
auth_param basic credentialsttl 1 minute
auth_param basic casesensitive off
acl auth proxy_auth REQUIRED
acl localhost src 127.0.0.0/8
http_access allow auth
http_access allow localhost
http_access deny all
cache deny all
forwarded_for delete
request_header_access Via deny all



Notes: The default port for Squid is 3128, change it to another port for better security.
Notes: You can use nano or your favorite text editor to change squid.conf
Notes: nano /etc/squid3/squid.conf

Create Squid3 User

Create a new user to login to the Squid3 server.

htpasswd -c /etc/squid3/.passwd YOUR_USER_NAME

use perl to create your authentication. You can also use Apache tools to create your authentication

echo -e "YOUR_USERNAME:perl -le 'print crypt("YOUR_PASSWORD","salt")'" > /etc/squid3/.passwd

Notes: you should rename salt to a random string. if you don't know what a salt is, you can read up on this wikipage: link to salt(cryptography) wikipedia!

Restart your Squid3 service

/etc/init.d/squid3 restart

Notes: If everything went right, you should have a functioning proxy server now.

Activating and Configuring your internet properties for windows 10

Press the windows start menu and type: internet options



Press the Connections tab and press the Lan settings button



Press the Advanced button



Change The HTTP proxy address, i'll be using a IPV6 instead of a IPV4 in my case



Notes: IPV6 needs brackets around it's address [IPV6-ADDRESS]

Open you favorite browser, you should now be prompted for username and login we made earlier during the installation



Congratulations, you have now fully installed and setup a proxy server that is ready for use.

Sort:  

good job,
thank you for following me, I will come to your steem every night to vote or comment.
nice to see you. keep friendship, keep voting or comment between us.

Holy cow the stuff looks complicated, hopefully you're using your computer called writing skills for good of mankind. @briandenver Are these how to instructions on how to be a computer hacker?

Could you post a really simple how to open up a bit coin wallet. That would be helpful for us non-technical people.

Hi @bago,
I'm kelly and here i am giving you easy way to claim free 50 WCX Coins.
WCEX is a brand new digital currency exchange and they are going to launch soon. As part of launch they are offering free 50 WCX coins which is of worth 5$. Use below link to create your account and claim free coins(you need to click on confirmation email).
https://wcex.co/?ref=ScopGJmB

Das een goeie post bagoo :p iere check deze site https://steemfollower.com/?r=346

Congratulations @bago! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Looks like BCH bitcoin cash has 12 billion market cap :) i have written an article :)
https://steemit.com/cryptocurrency/@ronaldmcatee/bitcoin-cash-bch-bubble-or-real-thing

I also write blog posts, but not better than you :) maybe check them out ?

Coin Marketplace

STEEM 0.21
TRX 0.02
BTC 11707.66
ETH 395.49
SBD 1.03