Created
May 31, 2015 18:45
-
-
Save z1nkum/47523d3f9b0f754ebaaa to your computer and use it in GitHub Desktop.
OpenWRT dansguardian privproxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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