首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Squid、autossh和acl拒绝

Squid、autossh和acl拒绝
EN

Server Fault用户
提问于 2011-05-30 13:28:20
回答 1查看 400关注 0票数 0

我有一个看起来像这样的squid.conf:

代码语言:javascript
复制
cache_mgr me@example.com
visible_hostname example.com
httpd_suppress_version_string on
via off

http_port 3128 transparent

acl all src all
acl SSL_ports port 443
acl CONNECT method CONNECT
acl manager proto cache_object
acl localhost src 127.0.0.1/32

http_access allow manager localhost
http_access allow localhost
http_access deny manager
http_access deny CONNECT !SSL_ports
http_access deny all

access_log /var/log/squid/access.log squid

coredump_dir /var/cache/squid


And an autossh tunnel that looks like this:


  sudo autossh -C -N -L 3128:example.com:3128 -i /home/me/.ssh/id_rsa -M 20000 me@example.com


I must have some misconfiguration: every http connection over the tunnel is 403'ed at squid. I don't see what I've done wrong. Can someone pull me out of the woods? 
EN

回答 1

Server Fault用户

回答已采纳

发布于 2011-05-30 13:34:14

尝试使用-L 3128:localhost:3128,以便在回送接口上连接到squid。

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

https://serverfault.com/questions/275220

复制
相关文章

相似问题

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