1 | #! /bin/sh |
---|
2 | |
---|
3 | apt-get update |
---|
4 | |
---|
5 | apt-get install tinyproxy |
---|
6 | |
---|
7 | apt-get update |
---|
8 | |
---|
9 | echo "Filter \"/etc/tinyproxy/filter\"\nFilterURLs On\nAllow 10.0.0.0/8" >> /etc/tinyproxy.conf |
---|
10 | |
---|
11 | cp /usr/share/tinyproxy/default.html /usr/share/tinyproxy/default.html.ORIGINAL |
---|
12 | |
---|
13 | /etc/init.d/tinyproxy restart |
---|
14 | |
---|