M
M
Mikhail Volkov2017-01-11 17:46:33
Squid
Mikhail Volkov, 2017-01-11 17:46:33

Proxy server squid 2.7 under Windows Server 2003 forward 127.0.0.1 8080 under the electronic budget?

Hello! I use a squid 2.7 proxy server running Windows Server 2003 and I have a question. How to make it pass the Electronic budget 127.0.0.1 8080.
The file config is as follows:
http_port 192.168.2.1:3128
# hostname and names of dns servers, either provider or router gateway
visible_hostname proxy6531
cache_access_log c:/squid/log/access. log
cache_log c:/squid/log/cache.log #authorization
path for password file and parameters
auth_param basic program C:/squid/libexec/ncsa_auth.exe C:/squid/etc/internet_users.conf
auth_param basic children 5
auth_param basic Realm Access denied! Enter password:
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off #Access
list of all who applied
acl all src 0.0.0.0/0.0.0.0 #Access
list of those who authorized
acl pr_auth proxy_auth REQUIRED #create an
acl list that includes hosts or users for which filtering will be performed
acl url_filtred src 192.168.2.2-192.168.2.20 #Then enable
our list of sites to block
acl blacklist url_regex -i "c:/squid/etc/deny.conf"
http_access deny blacklist url_filtred #Rule
for authorized
http_access allow pr_auth #Define
a group of "fast" users . where the speed is high.
acl goodclients src 192.168.2.2-192.168.2.9
#Define a group of "slow" users. where the speed is low.
acl badclients src 192.168.2.15-192.168.2.30
#Let's create two pools through which our users will fly.
delay_pools 2
delay_class 1 1
delay_class 2 1
# High-speed pools will "fly" through the first pool.
delay_access 1 allow goodclients
delay_access 1 deny all
# And the second ones are slow.
delay_access 2 allow badclients
delay_access 2 deny all #We will
limit the speed on pools #Give the first one
without restrictions
delay_parameters 1 -1/-1 #And
set the second to 128 kilobits
delay_parameters 2 64000/64000 #A
rule for those who did not fit any rule above
http_access deny all
If anyone knows, please help. It's really necessary. Thanks for understanding!
Or advise something else, maybe some solution, or another proxy server

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2017-01-11
@dimonchik2013

well and to what here all these ACL?
what is the task? contact 127 directly without proxy

M
Mikhail Volkov, 2017-01-12
@DarkPain808

It's all needed. As a proxy server it works. It is necessary that, bypassing the server, the browser knocks on this Ip and port. Therefore, there is a problem.

N
Nikolai, 2017-01-12
@nevzorofff

If a squid by other machine, in any way. At all. Only past the proxy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question