Installing and configuring squid take just 5 minutes maximum.
Installing
1 |
root@d:~$ apt-get install squid |
and squid is installed, now all we need is to just add and change few options in configuration file.
Path to squid configuration is
1 |
/etc/squid/squid.conf |
Open configuration file and add your ip
1 |
acl myip src xxx.xxx.xxx.xxx |
If you want to add a complete ip range then you can use
1 |
acl myip src xxx.xxx.xxx.xxx/24 |
After that add following, or find them in configuration files and uncomment then
1 2 3 4 5 |
http_access allow myip forwarded_for off visible_hostname mybogusproxyhostname.local httpd_suppress_version_string on via off |
Now restart squid and you are done
1 2 |
root@d:~$ /etc/init.d/squid restart Restarting Squid HTTP proxy: squid Waiting.....................done. |
Comment Policy:
Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.