There are some steps to install Squid Proxy Server:
- Install Squid:
- sudo apt-get install squid
- Backup "squid.conf" file:
- sudo cp /etc/squid3/squid.conf /etc/squid3/squid.conf.original
- sudo chmod a-w /etc/squid3/squid.conf.original
- Open "/etc/squid3/squid.conf":
- Find "visible_hostname" and change to your own name:
- visible_hostname ubuntu
- Change port:
- http_port 8888
- Allow all computers can access:
- acl
- acl manager proto cache_object
- acl localhost src 127.0.0.1/32 ::1
- acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
- acl allcomputers src 192.168.1.0/255.255.255.0
- http_access
- http_access allow localhost
- http_access allow allcomputers
- View log:
- more /var/log/squid3/access.log
Good luck!
No comments:
Post a Comment