Squid!
Добавлено: 2012-07-09 9:22:29
Есть сервер FreeBSD 8.1!
Установлен Squid:
В PF прописано такое правило:
Делаю команду squid start все нормально запустилось но сквид не работает.
Делаю команду squid -k reconfigure пишет что
Помогите что надо сделать!
Спасибо.
Установлен Squid:
Код: Выделить всё
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl ruslan src 192.168.0.65
acl localnet src 192.168.0.0/24
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny ruslan
http_access deny all
http_port 192.168.0.201:3128
cache_mem 32 MB
cache_dir ufs /usr/local/etc/squid/logs/ 3072 16 256
cache_access_log /var/squid/access.log
cache_log /var/squid/cache.log
cache_store_log /var/squid/store.log
Код: Выделить всё
rdr pass on $int_if proto tcp from $trusted_lan to 192.168.0.201 port 80 -> 93.127.100.33 port 3128
Делаю команду squid -k reconfigure пишет что
Код: Выделить всё
squid: ERROR: Could not send signal 1 to process 63558: (3) No such process
Спасибо.