我有centos 7.6并在其上安装了squid 4.5。
sudo yum -y install squid
Run Code Online (Sandbox Code Playgroud)
我跟着这个链接的Basic Authentication
。
没有身份验证鱿鱼工作正常。
添加# Basic Authentication
部分后,这是squid.conf :
#
# Recommended minimum configuration:
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10 # RFC 6598 shared …
Run Code Online (Sandbox Code Playgroud)