论坛风格切换切换到宽版
  • 582阅读
  • 0回复

[问题求助]请帮我看看我的SQUID反向代理问题 [复制链接]

上一主题 下一主题
离线yueyehan.
 
发帖
2105
C币
-235151
威望
397
贡献值
1
银元
-3
铜钱
4728
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我用一台SQUID服务器A做网站服务器B的代理,服务器B上有一个获取客户.端IP地址的程序。客户端C可以正常访问服务器A,但当客户端C请求服务器A的获取IP地址的程序时,显示的.是服务器A的.IP地址,而不是客户端真正的IP地址。虚拟主机
请.问各位大侠,我在服务器A.的SQUID应该配置什么参数才可以显示出客户端的真正IP地址?我的配置文件如下,请看:          婚庆
http_port 3128
icp_port 0
acl QUERY urlpath_reg.ex cgi-b.in \?             汽车
no_cache deny .QUERY教育
cach.e_mem 16 MB学习
visible_hostname 192.168..3.2.11虚拟主机
cache_dir ufs /usr/local/squid/var/cache 256 1.6 .256           女人
log_icp_queries off..
buffer.ed_logs on           女人
emulate_ht.tpd_log on             电子
redi.rect_rewr.ites_host_header off[成人用品]
half_clo.sed_clients off              乙肝
acl all src 0.0.0.0./0.0..0.0.
acl alloweddomain dstdomain "/usr/local/squid/.etc/alloweddomain..txt"    健康
h.ttp_access allow alloweddo.main          婚庆
http_acces.s deny all    外汇
cache._mgr admin.
cache_effective_us.er. nobody.
cache_effect.ive_gr.oup nobody    外汇
h.ttpd_accel_host 192.168.3..211
httpd_acce.l_port 82--------------彩票
http.d_accel_with_proxy on教育
httpd_accel_u.s.es_host_header on.
hosts_file /etc./hosts(广告)
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个