User Tools

Site Tools


web_services:squid_update_cache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web_services:squid_update_cache [2015/02/21 11:32]
tschulz [Edit /etc/squid/squid.conf]
web_services:squid_update_cache [2015/02/21 11:33]
tschulz [Edit /etc/sysctl.conf]
Line 26: Line 26:
 ==== Edit /​etc/​sysctl.conf ==== ==== Edit /​etc/​sysctl.conf ====
   - add the following to **/​etc/​sysctl.conf**. ​ This will enable packet forwarding   - add the following to **/​etc/​sysctl.conf**. ​ This will enable packet forwarding
-<​file>​net.ipv6.conf.all.forwarding=1</​file> ​+<​file>​net.ipv4.ip_forward=1</​file> ​
 ==== Edit /​etc/​rc.local ==== ==== Edit /​etc/​rc.local ====
   * Change **999.999.999.999** to the local ip of squid server. ​   This will redirect every **port 80** request through squid.   * Change **999.999.999.999** to the local ip of squid server. ​   This will redirect every **port 80** request through squid.
Line 79: Line 79:
  
 store_id_access allow updatesites store_id_access allow updatesites
 +store_id_access deny all
 store_id_program /​usr/​lib/​squid/​storeid_file_rewrite /​etc/​squid/​storeid_rewrite.conf store_id_program /​usr/​lib/​squid/​storeid_file_rewrite /​etc/​squid/​storeid_rewrite.conf
 store_id_children 10 startup=3 idle=1 concurrency=0 store_id_children 10 startup=3 idle=1 concurrency=0
web_services/squid_update_cache.txt · Last modified: 2015/02/21 11:33 by tschulz