Portál AbcLinuxu, 30. července 2025 20:10
http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_reply_access allow all icp_access allow all acl nasesit src 192.168.0.0/255.255.255.0 http_access allow localhost http_access allow nasesit cache_effective_user squid cache_effective_group squid httpd_accel_with_proxy on httpd_accel_uses_host_header on httpd_accel_single_host on http_port 3128 error_directory /usr/lib/squid/errors/Czech httpd_accel_port 80 log_icp_queries off client_db off https_port 3128 forwarded_for off httpd_accel_host virtual never_direct allow all cache_peer 10.71.11.1 parent 3128 0 no-query no-digest
$IPT -t nat -N MY_REDIR # Pouze pro internet $IPT -t nat -A MY_REDIR -d 192.168.0.0/16 -j RETURN $IPT -t nat -A MY_REDIR -d 10.0.0.0/8 -j RETURN $IPT -t nat -A MY_REDIR -p tcp --dport 80 -j REDIRECT --to-port 3128 $IPT -t nat -A OUTPUT -o $X0_FACE -j MY_REDIRA zacalo to chodit. Takze transparentni proxy asi nelze pouzit na tom pocitaci co bezi squid, ale pouze pro ostatni pocitace v siti.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.