• 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 Timing by Squid proxy server in OpenSUSE Leap 42.1

{{postValue.id}}

To configure ACL rule for Timing 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 Timing 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 (347.5 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.103
acl down_time time " /etc/squid/down_time.txt" 
http_access deny test down_time
http_access allow test

Create a file named down_time.txt inside this path and enter the following time changes in the file.

linuxhelp:~ # vim /etc/squid/down_time.txt
00:00-09:00
11:00-11:30
13:00-13:45
18:00-24:00

Restart the squid proxy server by running the following command.

linuxhelp:~ # systemctl restart squid

Open your client machine and provide your proxy server IP in that browser.

network settings

Enter the requried details to configure the proxies.

configure proxies

During the mentioned time inside the conf file your browser wont allow you to access.

browser

After the time elapses, the browser will allow you to browse for any website.

search engine

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

Tags:
jacob
Author: 

Comments ( 1 )

carollawrence
nice
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

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

Why is it called Squid?

A

Harris' Lament says, ``All the good ones are taken." We needed to distinguish this new version from the Harvest cache software. Squid was the code name for initial development, and it stuck.

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.

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

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.

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.