Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- # Ubuntu
- #
- set -v
- apt-get update
- apt-get install -y ntpdate
- apt-get install squid
- cp /etc/squid/squid.conf /etc/squid/squid.conf.bak
- cat << EOF > /etc/squid/squid.conf
- http_port 3128
- http_access allow all
- cache allow all
- request_header_access Via allow all
- EOF
- service squid restart
- echo "IP ADDRESS"
- curl ifconfig.co
- #Be sure to shutdown/terminate your VM after you are done!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement