LinuxForum.Fans
Тема

Настройка Squid

Автор: BREADEAD 4 сообщений 2722 просмотров
#163157

Помогите пожалуйста разобраться со Сквидом (до этого юзал UserGate и TrafficInspector)
Есть сервер Eth1 - 192.168.1.211 -Lan
255.255.252.0

Eth0 - 192.168.0.3 - Wan

Modem - 192.168.0.2
В правилах создать 3 группы по скорости (1 2 3)
1 - 10 кБ (192.168.1.1) \
2 - 20 кБ (192.168.1.2) I - Участники разных групп соответственно
3 - 30 кБ (192.168.1.3) /

Настроить нужно по правилу NAT -никаких ограничений по протоколам, но запрет на доступ к http://murmansk.avangard-dsl.ru/
И огромная ПРОСЬБА - с расширенными комментариями - дабы мне больше не задавать глупых вопросов а разобраться наконец на явном примере

#163170

Вам нуна обрезать скорость и доступ Сквидом или NAT'oм?????
Разкажыте что сделали и что именно не получаетса. Покажыте конфиги.

#163406

http_port 192.168.1.211:8080 transparent
icp_port 0
acl QUERY urlpath_regex cgi-bin
no_cache deny QUERY
cache_mem 32 MB
cache_dir ufs /var/spool/squid 1000 16 256
cache_access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
cache_store_log /var/log/squid3/store.log
logfile_rotate 10
mime_table /usr/share/squid3/mime.conf
pid_filename /var/run/squid3.pid
ftp_user anonymous@
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on
dns_nameservers 192.168.0.1
acl phoenix src 192.168.1.222/32
acl TET src 192.168.1.2-192.168.1.254/32
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563
acl SMTP port 25
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access allow phoenix
http_access allow TET
http_access deny !Safe_ports
http_access deny SMTP
http_access deny all
icp_access deny all
error_directory /usr/share/squid3/errors/Russian-1251
delay_pools 3
delay_class 1 2
delay_class 2 3
delay_class 3 2
delay_access 1 allow phoenix
delay_access 1 deny all
delay_parameters 1 -1/-1 -1/-1
delay_access 2 allow TET
delay_access 2 deny TET
delay_parameters 2 500000/500000 500000/500000 50000/50000
delay_access 3 deny all
delay_parameters 3 6000/6000 -1/-1

#163408

черти как настроил исправь меня так что бы все по нату было ...

Войдите или зарегистрируйтесь, чтобы ответить.