top of page

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

 
 
 

Comments


© Copyright ROBIN planning LLC.

​Privacy Policy

​Disclaimer

bottom of page