Squid is a popular, free, and open-source proxy server designed for Linux and Unix systems. It serves as a bridge between clients and servers for web content accessed via HTTP and HTTPS. Additionally, Squid functions as a caching proxy server, enhancing web server performance by storing frequently accessed pages. It also provides the ability to manage web access through customizable access control rules.
In this article, we will guide you through the process of installing the Squid proxy server on Fedora Linux.
Click here and buy high speed linux proxy server
Follow the step for Squid Proxy user create
- Open PuTTY: Open the PuTTY application on your computer.
- Enter Hostname or IP : 0.0.0.0 Port Default : 22
- Select Connection Type: Make sure to choose “SSH” from the “Connection type” options on the left side.
- Click Open: Press the “Open” button to start the connection.
- Login Credentials: To access the server, simply type in your username and then your password when asked.
- Username : by defaults “root”
- Password : You can copy your password and right click in the Putty Application
Step 1 – Install Squid Proxy
The Squid package is pre-installed in the Fedora operating system. To install it, you can execute the following command.
dnf install squid -y
Once you have installed the Squid proxy package, make sure to start and enable the Squid service so that it automatically runs when the system reboots.
systemctl start squid systemctl enable squid
The Squid proxy is set to listen on port 3128 by default. You can check this by using the command below.
ss -antpl | grep -i squid
Output.
LISTEN 0 4096 *:3128 *:* users:(("squid",pid=65118,fd=13))
Step 2 – Create a Squid User
To manage Internet access through Squid, it is necessary to create a user. Begin by installing the Apache tools package using the command provided.
dnf install httpd-tools -y
First, generate a password file and then update its ownership.
touch /etc/squid/squid_passwd chown squid /etc/squid/squid_passwd
To proceed, you’ll want to create a Squid user and establish a password using the command below.
htpasswd /etc/squid/squid_passwd demohostycare
Please establish the user’s password as demohostycare below.
New password: Re-type new password: Adding password for user demohostycare
Step 3 – Set up the Squid Proxy Server
In this part, we will set up user-specific authentication in the Squid proxy, ensuring that only the Squid user has internet access.
Buy high speed Buy Windows VPS Server Get 50% Off Today Click Here
Modify the Squid configuration file with using command below
nano /etc/squid/squid.conf
Please include these lines at the beginning of the file:
auth_param basic program /usr/lib64/squid/basic_ncsa_auth /etc/squid/squid_passwd acl ncsa_users proxy_auth REQUIRED http_access allow ncsa_users
Once you’ve finished, be sure to save and close the file. After that, restart the Squid service to implement the changes.
systemctl restart squid
Step 4 – Check the Squid Proxy Server.
At this point, your Squid proxy server is installed and configured. Now you will need to define your proxy server on the client’s machine.
Begin by opening the Proxy settings on your client machine. After that, head over to the search box on your Windows device. You will see the following screen.
Begin by opening the Proxy settings on your client machine. After that, head over to the search box on your Windows device. You will see the following screen.

Once you access the proxy settings, just input the proxy IP and port and click save. Check out the screenshot below for a better illustration.
Buy high speed linux proxy server click here get 30% off today

Then you need to open any browser after you are automatic navigate to same as screenshot below, then you can enter the squid Proxy username and Squid Proxy password

Provide your Squid username and password and click on Sign in. After the successful authentication, you will be able to access the website.
Verify the Squid Proxy user visit by https://whatismyipaddress.com/

Final Word !
You’ve just learned how to install and configure the Squid Proxy server on Fedora Linux in this post. This powerful tool allows you to safeguard your identity and oversee Internet access. Explore the benefits of using Squid Proxy on Buy Windows VPS Server from hostycare.com.
If you got any benefit from this article, please share it with your friends, and if you have any question or suggestion in your mind, then tell us in the comment.
Thanks for visit hostycare.com