User Tools

Site Tools


doc:howto:proxy.privoxy

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
doc:howto:proxy.privoxy [2013/07/11 11:27]
lorema project hompage
doc:howto:proxy.privoxy [2015/03/17 09:05] (current)
chris5560 [Configuration]
Line 14: Line 14:
 /​etc/​init.d/​privoxy start /​etc/​init.d/​privoxy start
 </​code>​ </​code>​
 +
 +:!: Since OpenWrt Chaos Calmer (trunk) there is also available a corresponding LuCI application to support setting of Privoxy configuration via Web-GUI.\\
 +:!: Require Privoxy v3.0.22 package
  
 ===== Configuration ===== ===== Configuration =====
Line 20: Line 23:
 You need change default setting ''​permit-access 192.168.1.0/​24''​ to something else if you use a different subnet. You need change default setting ''​permit-access 192.168.1.0/​24''​ to something else if you use a different subnet.
  
-Last you need start up the proxy server with command ''/​etc/​init.d/​privoxy start''​.+Last you need start up the proxy server with command ''/​etc/​init.d/​privoxy start''​.\\
 To have it start on boot, enable the init script with ''/​etc/​init.d/​privoxy enable''​. To have it start on boot, enable the init script with ''/​etc/​init.d/​privoxy enable''​.
  
 You'll need to add the proxy information to your internet browser to use it. You'll need to add the proxy information to your internet browser to use it.
 +
 +:!: Since OpenWrt Chaos Calmer (trunk) / **Privoxy v3.0.22** the ''/​etc/​privoxy/​config''​ file is no longer used :!: \\
 +The configuration was moved to the UCI configuration ''/​etc/​config/​privoxy''​.\\
 +All Privoxy configuration variables are still supported.\\
 +
 +Due to UCI does not support variables names with "​-"​ this needs to be replaced by "​_"​\\
 +**Sample:** privoxy "​listen-address"​ must be UCI "​listen_address"​\\ \\
 +If you add entries please use:\\
 +* **option** for options with one parameter (option confdir)\\
 +* **list** ​  for options with multiple parameters (list listen_address)\\
 +* special handling for debug option: privoxy option "debug 1024" must be UCI "​option debug_1024 '​1'​ "\\
 +Please see sample below
  
 ===== Example ===== ===== Example =====
Line 56: Line 71:
 #​proxy-info-url ​             http://​www.example.com/​proxy-service.html #​proxy-info-url ​             http://​www.example.com/​proxy-service.html
 </​code>​ </​code>​
 +
 +Below is an example of the ''/​etc/​config/​privoxy''​ file used **since Privoxy v3.0.22**
 +
 +<​code>​
 +config privoxy '​privoxy'​
 + option confdir '/​etc/​privoxy'​
 + option logdir '/​var/​log'​
 + option logfile '​privoxy.log'​
 + list filterfile '​default.filter'​
 +#​ list filterfile '​user.filter'​
 + list actionsfile '​match-all.action'​
 + list actionsfile '​default.action'​
 +#​ list actionsfile '​user.action'​
 +#​ list listen_address '​127.0.0.1:​8118'​
 + list listen_address '​192.168.1.1:​8118'​
 + option toggle '​0'​
 + option enable_remote_toggle '​1'​
 + option enable_remote_http_toggle '​0'​
 + option enable_edit_actions '​1'​
 + option enforce_blocks '​0'​
 + option buffer_limit '​4096'​
 + option forwarded_connect_retries '​0'​
 + option accept_intercepted_requests '​0'​
 + option allow_cgi_request_crunching '​0'​
 + option split_large_forms '​0'​
 + option keep_alive_timeout '​300'​
 + option socket_timeout '​300'​
 + list permit_access '​192.168.1.0/​24'​
 + option debug_1 '​0'​
 + option debug_512 '​1'​
 + option debug_1024 '​0'​
 + option debug_4096 '​1'​
 + option debug_8192 '​1'​
 +</​code>​
 +
doc/howto/proxy.privoxy.1373534877.txt.bz2 · Last modified: 2013/07/11 11:27 by lorema