Author Topic: Squid Error: No forward-proxy ports configured  (Read 5422 times)

kaziukos

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Squid Error: No forward-proxy ports configured
« on: August 24, 2014, 07:50:34 pm »
Sorry for my english.
Zentyal 3.5. 64bit
My squid generates an error: No forward-proxy ports configured
Settings:
Code: [Select]
http_port 0.0.0.0:3128 intercept
# END_TAG #


visible_hostname (frontal)master.sp1.lan
coredump_dir /var/spool/squid3
cache_effective_user proxy
cache_effective_group proxy
access_log /var/log/squid3/access.log squid
cache_log /var/log/squid3/cache.log
cache_store_log /var/log/squid3/store.log

pid_filename /var/run/squid3.pid


cache_peer 127.0.0.1 parent 3129 0 no-query proxy-only login=*:nopassword

auth_param basic realm Zentyal HTTP proxy
auth_param basic program /usr/lib/squid3/basic_ldap_auth -v3 -b DC=sp1,DC=lan -f "(&(samAccountName=%s)(objectclass=user))" -p 3268 -D CN=zentyal-squid-master,CN=Users,DC=sp1,DC=lan -w mm2jHzLNpwGfWMJavxY@ -P
external_acl_type ldapgroup  ipv4 %LOGIN /usr/lib/squid3/ext_ldap_group_acl -v3 -b DC=sp1,DC=lan   -p 3268 -D CN=zentyal-squid-master,CN=Users,DC=sp1,DC=lan -w mm2jHzLNpwGfWMJavxY@ -P -F "(&(samAccountName=%s)(objectclass=user))" -f  "(&(samAccountName=%g)(objectclass=group)(member=%u))"


acl_uses_indirect_client on
acl authorized proxy_auth REQUIRED

acl from_localhost src 127.0.0.0/8 ::1
acl to_localhost dst 127.0.0.0/8 ::1

acl fltr1~df~dmn7 dstdomain .onet.pl
acl fltr1~df~dmn6 dstdomain .interia.pl
acl fltr1~df~dmn5 dstdomain .youtube.com
acl fltr1~df~dmn4 dstdomain .youtube.pl
acl fltr1~df~dmn3 dstdomain .nk.pl
acl fltr1~df~dmn2 dstdomain .facebook.com
acl fltr1~df~dmn1 dstdomain .facebook.pl
acl longAcl~1 dstdomain "/var/lib/zentyal/files/squid/categories/Czarna_lista/blacklists/virusinfected/domains.squid"
acl Czarna_lista~dc~porn~dom dstdomain "/var/lib/zentyal/files/squid/categories/Czarna_lista/blacklists/porn/domains.squid"

http_access allow to_localhost
follow_x_forwarded_for allow from_localhost
http_access allow from_localhost
forwarded_for on
log_uses_indirect_client on
always_direct allow to_localhost

# force clients to use squid-external
never_direct allow all


##
## ACLs from model rules
##
acl obj~objc1 src 192.168.10.20/32 192.168.10.21/32 192.168.10.22/32 192.168.10.23/32 192.168.10.24/32 192.168.10.25/32 192.168.10.26/32 192.168.10.27/32 192.168.10.28/32 192.168.10.29/32
acl obj~objc1 src 192.168.10.30/32 192.168.10.31/32 192.168.10.32/32 192.168.10.33/32 192.168.10.34/32 192.168.10.35/32 192.168.10.36/32 192.168.10.37/32 192.168.10.38/32 192.168.10.39/32
acl obj~objc1 src 192.168.10.40/32 192.168.10.41/32 192.168.10.42/32 192.168.10.43/32 192.168.10.44/32 192.168.10.45/32 192.168.10.46/32 192.168.10.47/32 192.168.10.48/32 192.168.10.49/32
acl obj~objc1 src 192.168.10.50/32 192.168.10.51/32 192.168.10.52/32 192.168.10.53/32 192.168.10.54/32 192.168.10.55/32 192.168.10.56/32 192.168.10.57/32 192.168.10.58/32 192.168.10.59/32
acl obj~objc1 src 192.168.10.60/32 192.168.10.61/32 192.168.10.62/32 192.168.10.63/32 192.168.10.64/32 192.168.10.65/32 192.168.10.66/32 192.168.10.67/32 192.168.10.68/32 192.168.10.69/32
acl obj~objc1 src 192.168.10.70/32 192.168.10.71/32 192.168.10.72/32 192.168.10.73/32 192.168.10.74/32 192.168.10.75/32 192.168.10.76/32 192.168.10.77/32 192.168.10.78/32 192.168.10.79/32
acl obj~objc1 src 192.168.10.80/32 192.168.10.81/32 192.168.10.82/32 192.168.10.83/32 192.168.10.84/32 192.168.10.85/32 192.168.10.86/32 192.168.10.87/32 192.168.10.88/32 192.168.10.89/32
acl obj~objc1 src 192.168.10.90/32 192.168.10.91/32 192.168.10.92/32 192.168.10.93/32 192.168.10.94/32 192.168.10.95/32 192.168.10.96/32 192.168.10.97/32 192.168.10.98/32 192.168.10.99/32
acl obj~objc1 src 192.168.10.100/32 192.168.10.101/32 192.168.10.102/32 192.168.10.103/32 192.168.10.104/32 192.168.10.105/32 192.168.10.106/32 192.168.10.107/32 192.168.10.108/32 192.168.10.109/32
acl obj~objc1 src 192.168.10.110/32 192.168.10.111/32 192.168.10.112/32 192.168.10.113/32 192.168.10.114/32 192.168.10.115/32 192.168.10.116/32 192.168.10.117/32 192.168.10.118/32 192.168.10.119/32
acl obj~objc1 src 192.168.10.120/32 192.168.10.121/32 192.168.10.122/32 192.168.10.123/32 192.168.10.124/32 192.168.10.125/32 192.168.10.126/32 192.168.10.127/32 192.168.10.128/32 192.168.10.129/32
acl obj~objc1 src 192.168.10.130/32 192.168.10.131/32 192.168.10.132/32 192.168.10.133/32 192.168.10.134/32 192.168.10.135/32 192.168.10.136/32 192.168.10.137/32 192.168.10.138/32 192.168.10.139/32
acl obj~objc1 src 192.168.10.140/32 192.168.10.141/32 192.168.10.142/32 192.168.10.143/32 192.168.10.144/32 192.168.10.145/32 192.168.10.146/32 192.168.10.147/32 192.168.10.148/32 192.168.10.149/32
acl obj~objc1 src 192.168.10.150/32 192.168.10.151/32 192.168.10.152/32 192.168.10.153/32 192.168.10.154/32 192.168.10.155/32 192.168.10.156/32 192.168.10.157/32 192.168.10.158/32 192.168.10.159/32
acl obj~objc1 src 192.168.10.160/32 192.168.10.161/32 192.168.10.162/32 192.168.10.163/32 192.168.10.164/32 192.168.10.165/32 192.168.10.166/32 192.168.10.167/32 192.168.10.168/32 192.168.10.169/32
acl obj~objc1 src 192.168.10.170/32 192.168.10.171/32 192.168.10.172/32 192.168.10.173/32 192.168.10.174/32 192.168.10.175/32 192.168.10.176/32 192.168.10.177/32 192.168.10.178/32 192.168.10.179/32
acl obj~objc1 src 192.168.10.180/32 192.168.10.181/32 192.168.10.182/32 192.168.10.183/32 192.168.10.184/32 192.168.10.185/32 192.168.10.186/32 192.168.10.187/32 192.168.10.188/32 192.168.10.189/32
acl obj~objc1 src 192.168.10.190/32
acl obj~objc6 src 192.168.10.122/32
##
## Access
##

http_access allow  all
http_access allow  obj~objc1 fltr1~df~dmn7
http_access allow  obj~objc1 fltr1~df~dmn6
http_access allow  obj~objc1 fltr1~df~dmn5
http_access allow  obj~objc1 fltr1~df~dmn4
http_access deny  obj~objc1 fltr1~df~dmn3
http_access deny  obj~objc1 fltr1~df~dmn2
http_access deny  obj~objc1 fltr1~df~dmn1
http_access deny  obj~objc1 Czarna_lista~dc~porn~dom
http_access deny  obj~objc1 longAcl~1
http_access allow  obj~objc1
http_access deny  obj~objc6


##
## Default policy
##
# All acces denied by default if no other allow rule matchs
http_access deny all
# reply access allowed if not denied before
http_reply_access allow all
Help please