Proxy Server Setup on Ubuntu 24.04 LTS (VPS Guide)

Proxy Server Setup on Ubuntu 24.04 LTS (VPS Guide) V1.0

No permission to download
Hello everyone,
This guide explains how to deploy a proxy server on Ubuntu 24.04 LTS using a VPS, from account registration to final service verification.
The setup is straightforward and suitable for testing or personal use.

✅ Requirements​

  • Ubuntu 24.04 LTS VPS
  • Internet connection
  • Basic command-line knowledge


1️⃣ Register a VPS Account​

First, create an account at Mikyhost:

👉 Register here:
https://mikyhost.com/register.php



2️⃣ Purchase a New VPS​

After logging in, purchase a VPS package:

👉 New VPS order page:
https://mikyhost.com/new-vps?currency=3

Choose:
  • OS: Ubuntu 24.04 LTS
  • Bandwidth & Location

For Example, I will allow All TCP and UDP ports

But for security, you can open only important ports.

3️⃣ Download PuTTY (SSH Client)​

PuTTY is used to connect to your VPS via SSH.
MSI (‘Windows Installer’)
Download PUTTY => 64-bit x86
Download PUTTY => 64-bit Arm
Download PUTTY => 32-bit x86

Install it on your Windows computer.

Then we will create PEM File and PPK File via PuttyGEN.exe

Now we login to Server using Private KEY

Enable Root login

Switch to root
Code:
sudo su
Edit file
Code:
nano /etc/ssh/sshd_config
- Search and change #PermitRootLogin prohibit-password to PermitRootLogin yes

- Search and Change #PasswordAuthentication no to PasswordAuthentication yes
Then Save by Pressing the button CTRL + X = Y + ENTER
Code:
nano /etc/ssh/sshd_config.d/*
- Change PasswordAuthentication no to PasswordAuthentication yes

Then Save by Pressing the button CTRL + X = Y + ENTER
Restart SSH
Code:
sudo systemctl restart ssh

Create Password
Code:
passwd

Enter your password (it is not visible and enter it twice)

4️⃣ Install Squid Proxy​


Once connected to the VPS, update the system and install Squid:
Code:
sudo apt install squid -y

5️⃣ Verify the Service Status​

Check whether Squid is running:
Code:
sudo systemctl status squid

6️⃣ Download FileZilla (FTP/SFTP Client)​

FileZilla is used to upload and replace configuration files easily.

Downlaod FileZilla

6️⃣ Download and Replace squid.conf​

Using FileZilla, upload and replace the file to:

/etc/squid/squid.conf

8️⃣ Restart and Enable the Service​

Go back to PuTTY and run:

Code:
sudo systemctl restart squid

Here we use port 3128

Enjoy...
Author
Rounda
Downloads
1
Views
48
First release
Last update

Ratings

5.00 star(s) 1 ratings

Latest reviews

Excellent