lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

squid.conf (935B)


      1 acl localnet src 10.0.0.0/8
      2 acl localnet src 172.16.0.0/12
      3 acl localnet src 192.168.0.0/16
      4 acl localnet src fc00::/7
      5 acl localnet src fe80::/10
      6 
      7 acl ssl_ports port 443
      8 
      9 acl safe_ports port 80
     10 acl safe_ports port 21
     11 acl safe_ports port 443
     12 acl safe_ports port 70
     13 acl safe_ports port 210
     14 acl safe_ports port 1025-65535
     15 acl safe_ports port 280
     16 acl safe_ports port 488
     17 acl safe_ports port 591
     18 acl safe_ports port 777
     19 acl connect method connect
     20 
     21 http_access deny !safe_ports
     22 http_access deny connect !ssl_ports
     23 
     24 http_access allow localhost manager
     25 http_access deny manager
     26 
     27 http_access deny to_localhost
     28 
     29 http_access allow localnet
     30 http_access allow localhost
     31 
     32 http_access deny all
     33 
     34 refresh_pattern ^ftp: 1440 20% 10080
     35 refresh_pattern ^gopher: 1440 0% 1440
     36 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
     37 refresh_pattern . 0 20% 4320
     38 
     39 access_log none
     40 cache_log /dev/null
     41 cache_store_log stdio:/dev/null
     42 logfile_rotate 0
     43 
     44 logfile_daemon /dev/null