Created
September 20, 2012 01:47
-
-
Save aliminati/3753513 to your computer and use it in GitHub Desktop.
Install squid
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
| #!/bin/bash | |
| # install squid | |
| apt-get install squid3 | |
| # Backup settingan default | |
| mv /etc/squid3/squid.conf /etc/squid3/squid.conf.bak | |
| # Tulis config baru | |
| cat > /etc/squid3/squid.conf <<END | |
| #cache website yang diakes | |
| cache allow all | |
| #bolehkan koneksi dari mana saja | |
| http_access allow all | |
| #buka port 8080 | |
| http_port 8080 transparent | |
| #buka port 3128 | |
| http_port 3128 transparent | |
| #jadikan proxy super anonimity :D | |
| forwarded_for off | |
| #nama reverse query | |
| visible_hostname koreng.tk | |
| END | |
| # Restart squid | |
| service squid3 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment