• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to configure ACL rule for Browser by Squid proxy server in OpenSUSE Leap 42.1

{{postValue.id}}

To configure ACL rule for Browser by Squid proxy server in OpenSUSE Leap 42.1

A proxy server is a computer that acts as an intermediary between a desktop computer and the internet and allows a client machine to make an indirect connection to network servers and services. A proxy server can help you take control of how users reach the internet. ACL refers to Access Control List and it is designed mainly for permission mechanism for any type of file. It lets the user to provide permission for any user or group even if they are not a part of the group list of the user. This tutorial covers the configuration procedure ACL rule for Browser by Squid proxy server in OpenSUSE Leap 42.1.

Configuration procedure

To procced with the configuration process, install squid in your system by executing the following command.

linuxhelp:~ # zypper in squid
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  squid

1 new package to install.
Overall download size: 2.4 MiB. Already cached: 0 B. After the operation, additional 8.3 MiB will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package squid-3.3.14-12.1.x86_64                                                         (1/1),   2.4 MiB (  8.3 MiB unpacked)
Retrieving: squid-3.3.14-12.1.x86_64.rpm ............................................................................[done (283.9 KiB/s)]
Checking for file conflicts: ......................................................................................................[done]
(1/1) Installing: squid-3.3.14-12.1.x86_64 ........................................................................................[done]
Additional rpm output:
setting /usr/sbin/pinger to squid:root 0750 " = cap_net_raw+ep" . (wrong owner/group root:root permissions 0755, missing capabilities)

Start and enable your squid service.

linuxhelp:~ # systemctl start squid
linuxhelp:~ # systemctl enable squid
ln -s ' /usr/lib/systemd/system/squid.service'  ' /etc/systemd/system/multi-user.target.wants/squid.service' 

Open the squid configuration file using vim editor and enter the following changes in the file. Save and exit the file.

linuxhelp:~ # vim /etc/squid/squid.conf
acl test src 192.168.7.218 192.168.7.222
acl browser_block browser Firefox
http_access deny test browser_block
http_access allow test

Restart the squid proxy server by running the following command.

linuxhelp:~ # systemctl restart squid

Set your proxy server IP in your client machine by running the inetcpl.cpl in the Windows search bar.

windows search bar

Select the Bypass proxy server for local addresses option in LAN settings.

LAN settings

Now go to firefox settings options and set your squid IP.

browser options
Squid IP

Next you can access your firefox browser.

firefox browser

connection timedout

You can also access other websites with ease.

facebook  login

twitter login

The configuration procedure of ACL rule for browser in Squid proxy server in OpenSUSE Leap 42.1 is done without any glitches.

Tags:
niklaus
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to set only gives the owner read/write/execute (rwx) permission on the files created in the directory?

A

use the command as follow "setfacl -m user:shei:r-x SomeDirectory".

Q

What is Squid proxy server?

A

A proxy server is a computer that acts as an intermediary between a desktop computer and the internet and allows a client machine to make an indirect connection to network servers and services. A proxy server can help you take control of how users reach the internet. ACL refers to Access Control List and it is designed mainly for permission mechanism for any type of file. It lets the user provide permission for any user or group even if they are not a part of the group list of the user.

Q

What Operating Systems does Squid support?

A

Squid supports on following Os

Linux

FreeBSD

NetBSD

BSDI

Mac OS/X

OSF and Digital Unix

IRIX and etc

Q

Does Squid support SSL/HTTPS/TLS?

A

The browser opens an SSL connection directly to the origin server,

The browser tunnels the request through Squid with the CONNECT request method.

Q

Who is responsible for Squid?

A

Squid is the result of efforts by numerous individuals from the Internet community. Duane Wessels of the National Laboratory for Applied Network Research.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.