squid-proxy-installer icon indicating copy to clipboard operation
squid-proxy-installer copied to clipboard

> @BaseMax Can you answer some of my questions regarding this repo?

Open jalotra opened this issue 6 years ago • 7 comments

@BaseMax Can you answer some of my questions regarding this repo?

Hello @jalotra,

What's your question? (Create a new issue and ask there...)

Regards, Max

Originally posted by @BaseMax in https://github.com/serverok/squid-proxy-installer/pull/4#issuecomment-522263895

jalotra avatar Aug 17 '19 20:08 jalotra

@BaseMax This repository has 3 .conf files, namely squid.conf, squid-ip.conf, squid-2.conf. I am not able to whitelist some of the domains that I have. I have used squid-2.conf file and changed the ip.allow files with my custom domains that I wanted to whitelist. Line 15, Squid-2.conf states making ip.allow file. acl hostonnet_ips src "/etc/squid/ip.allow". What have I done wrong?

jalotra avatar Aug 17 '19 20:08 jalotra

@BaseMax This repository has 3 .conf files, namely squid.conf, squid-ip.conf, squid-2.conf.

Only "squid.conf" file has called in the bash scripts squid3-install.sh, and squid_configure_ip.sh.

Regards, Max Base

BaseMax avatar Aug 17 '19 20:08 BaseMax

Yup, I know that. Can you tell me what squid_configure_ip.sh does? I am not able to get what multiple ips have to do?

jalotra avatar Aug 17 '19 20:08 jalotra

I am not able to get what multiple ips have to do?

I don't know. Do you mean servers.txt file?


Can you tell me what squid_configure_ip.sh does?

Updating the squid config. You can check it using:

$ cat /etc/squid/squid.conf

Regards, Max Base

BaseMax avatar Aug 17 '19 20:08 BaseMax

You can create a file and add in a list of sites to be whitelisted /etc/squid/sites.whitelist.txt.

e.g: copied from a page

.example.com
.google.com
.bing.com

Restart squid using:

$ squid -k reconfigure

Or start the squid service.

I suggest you study:

  • https://wiki.squid-cache.org/SquidFaq/SquidAcl#How_do_I_implement_an_ACL_ban_list.3F
  • https://steelmon.wordpress.com/2009/11/22/setting-up-a-strict-whitelist-proxy-server-using-squid/
  • https://fabianlee.org/2017/02/23/squid-controlling-network-access-using-squid-and-whitelisted-domains/

Regards, Max Base

BaseMax avatar Aug 17 '19 20:08 BaseMax

Thankyou @BaseMax for the resources and your time. I configured my proxy server.

jalotra avatar Aug 18 '19 17:08 jalotra

Thankyou @BaseMax for the resources and your time. I configured my proxy server.

Hello,

Thank you for your reply, Enjoy. @jalotra

Best, Max Base

BaseMax avatar Aug 18 '19 18:08 BaseMax