首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法让squid为远程用户工作

无法让squid为远程用户工作
EN

Server Fault用户
提问于 2012-12-10 21:53:17
回答 1查看 255关注 0票数 0

我正在尝试设置squid 3.2.4,但我一直无法使它为远程用户工作。在当地工作很好。不知道我做错了什么..。

代码语言:javascript
复制
http_port 3128 transparent ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/usr/share/ssl-cert/myCA.pem

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320

acl localnet src 10.0.0.0/8     # RFC 1918 possible internal network
acl localnet src 172.16.0.0/12  # RFC 1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC 1918 possible internal network
acl localnet src fc00::/7       # RFC 4193 local private network range
acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines

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 allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access allow localhost
http_access allow localnet
http_access allow all

cache deny all

via off
forwarded_for off

header_access From deny all
header_access Server deny all
header_access WWW-Authenticate deny all
header_access Link deny all
header_access Cache-Control deny all
header_access Proxy-Connection deny all
header_access X-Cache deny all
header_access X-Cache-Lookup deny all
header_access Via deny all
header_access Forwarded-For deny all
header_access X-Forwarded-For deny all
header_access Pragma deny all
header_access Keep-Alive deny all

acl ip1 localip 1.1.1.90
acl ip2 localip 1.1.1.91
acl ip3 localip 1.1.1.92
acl ip4 localip 1.1.1.93
acl ip5 localip 1.1.1.94
tcp_outgoing_address 1.1.1.90 ip1
tcp_outgoing_address 1.1.1.91 ip2
tcp_outgoing_address 1.1.1.92 ip3
tcp_outgoing_address 1.1.1.93 ip4
tcp_outgoing_address 1.1.1.94 ip5
tcp_outgoing_address 1.1.1.90
EN

回答 1

Server Fault用户

发布于 2012-12-11 19:45:21

你的鱿鱼机知道这些“远程用户”的路线吗?

您能澄清您的本地网络是什么以及您的远程用户是什么吗?远程用户有什么问题?暂停?禁止?

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/456884

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档