Ubuntu squid 3.5通过ip控制访问不工作

Ubuntu squid 3.5通过ip控制访问不工作,ubuntu,squid,Ubuntu,Squid,我只接受来自固定ip地址aaa.aaa.aaa.aaa的请求,并拒绝来自其他ip的请求 下面是我的squid.conf 它工作了一段时间,但不再工作了。 有人能告诉我我的配置中是否有错误吗 ubuntu 18 鱿鱼3.5 acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https

我只接受来自固定ip地址aaa.aaa.aaa.aaa的请求,并拒绝来自其他ip的请求

下面是我的squid.conf 它工作了一段时间,但不再工作了。 有人能告诉我我的配置中是否有错误吗

ubuntu 18 鱿鱼3.5

acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
coredump_dir /var/spool/squid
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern (Release|Packages(.gz)*)$      0       20%     2880
refresh_pattern .               0       20%     4320
http_port xxx.xxx.xxx.xxx:8880 name=8880

acl myip00 myportname 8880 src aaa.aaa.aaa.aaa
http_access allow myip00
tcp_outgoing_address xxx.xxx.xxx.xxx myip00

request_header_access X-Forwarded-For deny all
request_header_access From deny all
request_header_access Via deny all
dns_nameservers 8.8.8.8
http_access deny all