Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo , ich möchte im Squid per ACLs gewissen IP Bereichen auch gewisse Regeln zuordnen , hat da jmd ein Beispiel ?

und habe im netz bezüglich einer Zeit Regel was gefunden, was ich aber auch nicht wirklich ans laufen bekommen


    acl zeit time 8:00-18:00 

    http_access allow !zeit 

    http_access deny all 

ich weiß nicht genau ob du sowas suchst, aber das hier wäre ein Beispiel:


acl all src 0.0.0.0/0.0.0.0

http_access allow all

Damit gibst du allen IP-Bereichen freien Zugang.

Demenstprechend sollte sich die Regel für einzelne IP schnell umbauen lassen.

Hi,

weiß zwar nicht warum noch keiner hierzu verwiesen hat aber dort wirst du auf jedenfall fündig!

Squid-Handbuch

Mindestkonfig:

Squid.config

http_port 3128

# übergerordneter Proxy

# cache_peer xxx.xxx.xxx.xxx parent xxxx 3130

cache_mem 100 MB

cache_dir ufs /var/cache/squid 1000 16 256

acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl allowed_hosts src xxx.xxx.xxx.xxx/Mask

http_access allow manager localhost

http_access deny manager all

http_access allow allowed_hosts

http_access deny all

icp_access allow allowed_hosts

icp_access deny all

vor dem ersten Start muss die Cache Struktur angelegt werden:

squid -z

ich hoffe ich konnte dir helfen, lg :floet:

Ps.: kennst du das? :P

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.