Skip to content

Instantly share code, notes, and snippets.

@z1nkum
Created May 31, 2015 18:45
Show Gist options
  • Save z1nkum/47523d3f9b0f754ebaaa to your computer and use it in GitHub Desktop.
Save z1nkum/47523d3f9b0f754ebaaa to your computer and use it in GitHub Desktop.
OpenWRT dansguardian privproxy
opkg update
opkg install privproxy
uci add firewall redirect
uci set firewall.@redirect[-1]._name=dansguardian
uci set firewall.@redirect[-1].src=lan
uci set firewall.@redirect[-1].proto=tcp
uci set firewall.@redirect[-1].dest_port=8080
uci set firewall.@redirect[-1].src_dport=80
uci set firewall.@redirect[-1].src_dip='! 192.168.111.1'
uci set firewall.@redirect[-1].dest_ip=192.168.111.1
uci commit firewall
/etc/init.d/firewall restart
opkg install nano
opkg install dansguardian
nano /etc/dansguardian/dansguardian.conf
nano /etc/dansguardian/dansguardianf1.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment