nir*_*ren 2 proxy squid ubuntu-12.04
我已经在 ubuntu 服务器上的网络中配置了鱿鱼代理。所有流量都被 Mikrotik 路由器转移到代理服务器。配置鱿鱼代理后,我更改/etc/squid3/squid.conf
为
http_port 8080 #changed from default port 3128
/var/log/squid3/access.log #uncomment access log
variable_hostname myproxy #added
http_access allow all #added
Run Code Online (Sandbox Code Playgroud)
我在 squid.conf 中添加了以下几行以使鱿鱼高度匿名
forwarded_for transparent
header_access Allow allow all
header_access Authorization allow all
header_access Cache-Control allow all
header_access Content-Encoding allow all
header_access Content-Length allow all
header_access Content-Type allow all
header_access Date allow all
header_access Expires allow all
header_access Host allow all
header_access If-Modified-Since allow all
header_access Last-Modified allow all
header_access Location allow all
header_access Pragma allow all
header_access Accept allow all
#header_access Accept-Enncoding allow all
header_access Accept-Language allow all
header_access Content-Language allow all
header_access Mime-Version allow all
header_access Cookie allow all
header_access Set_Cookie allow all
header_access Retry-After allow all
header_access Title allow all
header_access Connection allow all
header_access Proxy-Connection allow all
header_access All deny all
header_replace User-Agent anonymous
Run Code Online (Sandbox Code Playgroud)
现在我们网络的互联网连接非常慢。一旦我禁用将所有流量转移到鱿鱼代理服务器的规则,我们就会获得更快的互联网。我怎样才能让鱿鱼代理服务器非常快。
附加信息
OS: Ubuntu server 12.04.
RAM: 512 MB.
HardDisk: 80 GB.
Processor: Pentium 4.
Squid: version 3.1.19
Run Code Online (Sandbox Code Playgroud)
我没有在鱿鱼中配置缓存来使互联网快速但没有用。
服务器看起来像旧硬件。对于 HTTP 代理,有必要以这种方式调整您的设置:
归档时间: |
|
查看次数: |
26954 次 |
最近记录: |