Skip to content

Instantly share code, notes, and snippets.

@odevodyssey
Created November 2, 2022 12:48
Show Gist options
  • Save odevodyssey/73c02148b942f0cc80f9375b348f76e0 to your computer and use it in GitHub Desktop.
Save odevodyssey/73c02148b942f0cc80f9375b348f76e0 to your computer and use it in GitHub Desktop.
Privoxy Sample Configuration - Forwarding (HTTP and SOCKS) on OpenWrt
# /etc/config/privoxy
# replace username and password with proxy provided credentials
config privoxy 'privoxy'
option confdir '/etc/privoxy'
option logdir '/var/log'
option logfile 'privoxy.log'
list filterfile 'default.filter'
list actionsfile 'match-all.action'
list actionsfile 'default.action'
list listen_address '192.168.1.1:8118'
option toggle '1'
option enable_remote_toggle '1'
option enable_edit_actions '1'
option forwarded_connect_retries '0'
option keep_alive_timeout '300'
list permit_access '192.168.1.0/24'
option debug_512 '1'
option debug_4096 '1'
option debug_8192 '1'
option debug_2 '1'
option enable_proxy_authentication_forwarding '1'
list forward 'ifconfig.me geo.iproyal.com:12321'
list forward_socks5 'ipinfo.io username:password@geo.iproyal.com:42324 .'
config system 'system'
option boot_delay '10'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment