What's new

Closed Digital ocean - create ssh server and squid - with video

Status
Not open for further replies.

primeaque

Eternal Poster
Joined
Mar 18, 2017
Posts
855
Reaction
1,057
Points
340
Age
37
Credit goes to PesteM DiabolicaE and with his permission :)

This entire video tutorial was done by PesteM DiabolicaE via TeamViewer. Fresh po ito :)

Are you ready? This is exciting guys. In a few minutes from now, you can finally create your own SSH server and Squid on Digital Ocean, how would feel then??! Malaki po ang pasasalamat ko kay admin PesteM DiabolicaE dahin natotoo din ako sa wakas.

Advantage over free SSH account
Sure you can create unlimited accounts for free, just like our favorite site tcpvpn.com, but having a private SSH is something that you can call FAST and EXCLUSIVE.

Never get me wrong, I am still using free SSH accounts at times for backup purposes. But if you like an adventure and would like to do it by yourself, having a VPS is a good choice just like what I did.

Requirements:
#1 - You should sign up for a VPS on Digital Ocean and create your first droplet - creating your first droplet is easy and there are plenty of tutorials at D.O.
#2 - WinSCP - see resources at the bottom
#3 - PuTTY - see resources at the bottom
#4 - Command lines - posted below

Budget:
$5 to $10 at creation
Working smoothly using a verified PayPal account
Note based on my experience: it will not accept a visa debit card. So if your PayPal account is connected to a visa debit card and you are supposed to get the fund from the debit card, it will be denied. So make sure you have enough fund on PayPal itself.

Please scroll below for the video.

Steps 1 to 3 - done on Putty
Step #1======
apt-get update

Step #2========
apt-get install apache2

Step #3=========
apt-get install squid3

Step #4==========
Access root via WinSCP then go to etc (where server is located) then ssh > sshd_config

Open and edit the file, add
Port 443

Step #5===========
Open squid folder and edit squid. Delete all existing text and replace with the following:

acl url1 url_regex -i 127.0.0.1
acl url2 url_regex -i localhost
acl url3 url_regex -i (droplet IP)
acl payload url_regex -i "/etc/squid/payload.txt"
http_access allow url1
http_access allow url2
http_access allow url3
http_access allow payload
http_access deny all (change deny to allow)
http_port 8080
http_port 80
http_port 3128
visible_hostname (Droplet Name)
forwarded_for off
via off

Step #6=============
Access server on Putty then restart ssh and squid - done one at a time

service ssh restart
service squid restart
reboot

Step #7===============
You can exit or add a new user

To exit, simply type "exit" without quote then hit enter
To add a new user, use the following command

adduser username

Make sure to replace username with the desired one then execute the remaining steps like password, etc

==============================
FYI: hindi ko nacut yung intro ng video, pasensiya po, pakiforward nalang po at 1.35



FURTHER QUESTIONS??
PM me.
I would gladly extend a hand to you guys...


Resources:
You can download WinSCP at its official website
If you are familiar using an FTP client like FileZilla, then this one is just like it
You do not have permission to view the full content of this post. Log in or register now.

Also, make sure to get PuTTY here
You do not have permission to view the full content of this post. Log in or register now.
 
Last edited:
iba ang command sir hihihih .. YUM install .. naka python pa .. pag may time k tirahin natin

hahahaha, ah sige po, excited po ako niyan... gusto ko din po matototo kung paano gawin via Centos - sabi nga sa binasa ko mas stable kasi less frequent update.

Anyway po, ano exact na mangyayari pag sabihing econnreset? Yun bang "sending request" nalang po palage?
 
hahahaha, ah sige po, excited po ako niyan... gusto ko din po matototo kung paano gawin via Centos - sabi nga sa binasa ko mas stable kasi less frequent update.

Anyway po, ano exact na mangyayari pag sabihing econnreset? Yun bang "sending request" nalang po palage?
yup sir .. reset by peers
 
Status
Not open for further replies.

Similar threads

Back
Top