Access Permission Settings for the Web Proxy Squid
- 1 day ago
- 1 min read
Here are the steps for adding or updating access restrictions on a Web proxy Squid built on AWS EC2.
Adding a rule to the security group attached to the EC2 instance
Launch PowerShell with administrator privileges

Accessing EC2 from PowerShell
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\> ssh -i "webproxy-server.pem" ec2-user@XXX.XXX.XXX.XXX
Updating squid.conf
[ec2-user@ip-XXX-XXX-XXX-XXX ~]$ sudo vi /etc/squid/squid.conf
Adding or updating the IP in the item where access restrictions are configured
acl myacl src XXX.XXX.XXX.XXX/32 YYY.YYY.YYY.YYY/32
Restarting the squid service
[ec2-user@ip-XXX-XXX-XXX-XXX ~]$ sudo systemctl restart squid
Done
![[Deadline July 30, 2026] Several AWS Services Stop Accepting New Customers — The Full List and What to Check Now](https://static.wixstatic.com/media/5b7c68_472f115efd5641649ea3e9621d5d46b6~mv2.png/v1/fill/w_980,h_547,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/5b7c68_472f115efd5641649ea3e9621d5d46b6~mv2.png)


Comments