Files
squid-configurator/config/squid.conf
T
2026-05-03 23:10:26 +02:00

23 lines
559 B
SquidConf
Executable File

http_port 3128
# Zugriffssteuerung
acl localnet src 192.168.0.0/16
http_access allow localnet
http_access deny all
# Upstream-Proxy (Gluetun) für bestimmte Domains
acl vpn_domains dstdomain .example.com .someservice.net
cache_peer 127.0.0.1 parent 8888 0 no-query default name=gluetun
# Traffic für vpn_domains zu Gluetun weiterleiten
never_direct allow vpn_domains
cache_peer_access gluetun allow vpn_domains
cache_peer_access gluetun deny all
# Alles andere direkt
never_direct deny all
# Optionale Optimierungen
dns_v4_first on
forwarded_for delete