create account

Installing a Squid3 proxy server on Debian 8 Jessie by bago

View this thread on: hive.blogpeakd.comecency.com
· @bago · (edited)
$1.19
Installing a Squid3 proxy server on Debian 8 Jessie
<h1>Installation</h1>

<h3>Open Terminal or use SSH to connect to your Terminal remotely</h3>
![](https://steemitimages.com/DQmYXSqPpMs96pgUgbaG3K1Z2toTymVJ5ta4pGsd2HhnK2F/image.png)<br>
<strong>Notes:</strong> in my case i'll be using putty to connect to my VPS remotely

<h3>Install Squid3 and Apache tools.</h3>
<code>apt-get update</code>
<code>apt-get install squid3 apache2-utils</code>
<code>apt-get install nano</code>

<h1>Backup and replace Squid3 Configuration</h1>

<h3>Backup current Squid3 settings.</h3>

<code>cp /etc/squid3/squid.conf /etc/squid3/squid.conf.bak</code>

<h3>Open and replace the content in /etc/squid3/squid.conf with the following:</h3>
<pre><code>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
</code></pre>
<br>
https://steemitimages.com/DQmfUxrXe6ugKX3sChpVRdjpQUCDWXjEzhvCh8XPdcAkH4A/image.png
<br><br>
<p><strong>Notes:</strong> The default port for Squid is 3128, change it to another port for better security.<br>
<strong>Notes: </strong>You can use nano or your favorite text editor to change squid.conf<br>
<strong>Notes: </strong> <code> nano /etc/squid3/squid.conf </code>
</p>

<h1>Create Squid3 User</h1>

<h3>Create a new user to login to the Squid3 server.</h3>

<code>htpasswd -c /etc/squid3/.passwd YOUR_USER_NAME</code><br>
![](https://steemitimages.com/DQmYfNYtY6bVAZLaiotMrP4MWngx7o735gFskf8AkY1bo8Y/image.png)

<h3>use perl to create your authentication. You can also use Apache tools to create your authentication</h3>

<code>echo -e "YOUR_USERNAME:`perl -le 'print crypt("YOUR_PASSWORD","salt")'`" > /etc/squid3/.passwd</code><br>
![](https://steemitimages.com/DQmZPivPr2wVa49LYrRigYNN1Ng3R7VZSUprnBgjdZuNcUA/image.png)

<strong>Notes: </strong> you should rename <strong>salt</strong> to a random string. if you don't know what a <strong>salt</strong> is, you can read up on this wikipage: [link to salt(cryptography) wikipedia!](https://en.wikipedia.org/wiki/Salt_(cryptography)) 


<h3>Restart your Squid3 service</h3>

<code>/etc/init.d/squid3 restart</code><br>
![](https://steemitimages.com/DQmaUhns5WzNgGQf5RUhacRqwiVF8cZbFGXBuGPfN2bYUvG/image.png)

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

<h3>Activating and Configuring your internet properties for windows 10</h3>
<p>Press the windows start menu and type: <strong>internet options</strong></p>
https://steemitimages.com/DQmcSWxP6xELeTG133KMgemzmKru1jRiFmxvQkqkuYHRjG1/image.png<br><br>

<p>Press the <strong>Connections</strong> tab and press the <strong>Lan settings</strong> button</p>
https://steemitimages.com/DQmQYg3835GpzBopKJsfsuEuHjrgtJ219aoDg7ffg5EW8a9/image.png
<br><br>

<p>Press the  <strong>Advanced</strong> button</p>
https://steemitimages.com/DQmSTTMzpvG58r7UHz9Zo6qLFFKeyBfLsuQ6q81YBxsBs7Y/image.png
<br><br>

<p>Change The HTTP proxy address, i'll be using a IPV6 instead of a IPV4 in my case</p>
https://steemitimages.com/DQmYdFHkanXm51UUQS9SKWN6rGyz9yrPcGZCBXyiwdXTKxz/image.png<br><br>
<strong>Notes:</strong> IPV6 needs brackets around it's address <strong>[IPV6-ADDRESS]</strong><br><br>

<p>Open you favorite browser, you should now be prompted for username and login we made earlier during the installation</p>
https://steemitimages.com/DQmNm6bzsKCTzCmB9DvBRet1zx8sN67VQrEAFnozgZewAd7/image.png<br><br>
<p>Congratulations, you have now fully installed and setup a proxy server that is ready for use.</p>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 256 others
properties (23)
authorbago
permlinkinstalling-a-squid3-proxy-server-on-debian-8-jessie
categorytutorial
json_metadata{"tags":["tutorial","linux","vpn","technology"],"image":["https://steemitimages.com/DQmYXSqPpMs96pgUgbaG3K1Z2toTymVJ5ta4pGsd2HhnK2F/image.png","https://steemitimages.com/DQmfUxrXe6ugKX3sChpVRdjpQUCDWXjEzhvCh8XPdcAkH4A/image.png","https://steemitimages.com/DQmYfNYtY6bVAZLaiotMrP4MWngx7o735gFskf8AkY1bo8Y/image.png","https://steemitimages.com/DQmZPivPr2wVa49LYrRigYNN1Ng3R7VZSUprnBgjdZuNcUA/image.png","https://steemitimages.com/DQmaUhns5WzNgGQf5RUhacRqwiVF8cZbFGXBuGPfN2bYUvG/image.png","https://steemitimages.com/DQmcSWxP6xELeTG133KMgemzmKru1jRiFmxvQkqkuYHRjG1/image.png","https://steemitimages.com/DQmQYg3835GpzBopKJsfsuEuHjrgtJ219aoDg7ffg5EW8a9/image.png","https://steemitimages.com/DQmSTTMzpvG58r7UHz9Zo6qLFFKeyBfLsuQ6q81YBxsBs7Y/image.png","https://steemitimages.com/DQmYdFHkanXm51UUQS9SKWN6rGyz9yrPcGZCBXyiwdXTKxz/image.png","https://steemitimages.com/DQmNm6bzsKCTzCmB9DvBRet1zx8sN67VQrEAFnozgZewAd7/image.png"],"links":["https://en.wikipedia.org/wiki/Salt_(cryptography)"],"app":"steemit/0.1","format":"markdown"}
created2017-08-01 10:56:42
last_update2017-08-02 22:05:36
depth0
children8
last_payout2017-08-08 10:56:42
cashout_time1969-12-31 23:59:59
total_payout_value0.942 HBD
curator_payout_value0.251 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,754
author_reputation-557,502,373,680
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,410,086
net_rshares290,408,871,375
author_curate_reward""
vote details (320)
@briandenver ·
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?
👍  
properties (23)
authorbriandenver
permlinkre-bago-installing-a-squid3-proxy-server-on-debian-8-jessie-20170801t130212371z
categorytutorial
json_metadata{"tags":["tutorial"],"users":["briandenver"],"app":"steemit/0.1"}
created2017-08-01 13:02:12
last_update2017-08-01 13:02:12
depth1
children1
last_payout2017-08-08 13:02:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length193
author_reputation1,347,135,084,238
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,421,315
net_rshares121,869,330
author_curate_reward""
vote details (1)
@briandenver ·
Could you post a really simple how to open up a bit coin wallet. That would be helpful for us non-technical people.
properties (22)
authorbriandenver
permlinkre-briandenver-re-bago-installing-a-squid3-proxy-server-on-debian-8-jessie-20170801t130309921z
categorytutorial
json_metadata{"tags":["tutorial"],"app":"steemit/0.1"}
created2017-08-01 13:03:09
last_update2017-08-01 13:03:09
depth2
children0
last_payout2017-08-08 13:03:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length115
author_reputation1,347,135,084,238
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,421,416
net_rshares0
@kellypaul ·
-
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
properties (22)
authorkellypaul
permlinkre-installing-a-squid3-proxy-server-on-debian-8-jessie
categorytutorial
json_metadata{}
created2017-08-01 11:08:42
last_update2017-08-01 11:08:42
depth1
children0
last_payout2017-08-08 11:08:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length371
author_reputation-840,568,131,792
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,411,018
net_rshares0
@pandapoef ·
Das een  goeie post bagoo :p iere check deze site https://steemfollower.com/?r=346
properties (22)
authorpandapoef
permlinkre-bago-installing-a-squid3-proxy-server-on-debian-8-jessie-20170801t130658129z
categorytutorial
json_metadata{"tags":["tutorial"],"links":["https://steemfollower.com/?r=346"],"app":"steemit/0.1"}
created2017-08-01 13:07:00
last_update2017-08-01 13:07:00
depth1
children0
last_payout2017-08-08 13:07:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation568,521,629,774
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,421,802
net_rshares0
@ronaldmcatee ·
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
properties (22)
authorronaldmcatee
permlinkre-bago-installing-a-squid3-proxy-server-on-debian-8-jessie-20170802t181351780z
categorytutorial
json_metadata{"tags":["tutorial"],"links":["https://steemit.com/cryptocurrency/@ronaldmcatee/bitcoin-cash-bch-bubble-or-real-thing"],"app":"steemit/0.1"}
created2017-08-02 18:13:51
last_update2017-08-02 18:13:51
depth1
children0
last_payout2017-08-09 18:13:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length175
author_reputation1,259,099,659,120
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,563,778
net_rshares0
@ronaldmcatee ·
I also write blog posts, but not better than you :) maybe check them out ?
properties (22)
authorronaldmcatee
permlinkre-bago-installing-a-squid3-proxy-server-on-debian-8-jessie-20170806t143214426z
categorytutorial
json_metadata{"tags":["tutorial"],"app":"steemit/0.1"}
created2017-08-06 14:32:15
last_update2017-08-06 14:32:15
depth1
children0
last_payout2017-08-13 14:32:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length74
author_reputation1,259,099,659,120
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,951,380
net_rshares0
@saini88 ·
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.
👍  
properties (23)
authorsaini88
permlinkre-bago-installing-a-squid3-proxy-server-on-debian-8-jessie-20170801t110115968z
categorytutorial
json_metadata{"tags":["tutorial"],"app":"steemit/0.1"}
created2017-08-01 11:01:18
last_update2017-08-01 11:01:18
depth1
children0
last_payout2017-08-08 11:01:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length164
author_reputation6,555,033,726,167
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,410,433
net_rshares1,197,320,642
author_curate_reward""
vote details (1)
@steemitboard ·
Congratulations @bago! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png)](http://steemitboard.com/@bago) 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](https://steemit.com/@steemitboard)

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](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-bago-20170802t055950000z
categorytutorial
json_metadata{"image":["https://steemitboard.com/img/notifications.png"]}
created2017-08-02 05:59:51
last_update2017-08-02 05:59:51
depth1
children0
last_payout2017-08-09 05:59:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length678
author_reputation38,975,615,169,260
root_title"Installing a Squid3 proxy server on Debian 8 Jessie"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,505,314
net_rshares0