Форум русскоязычного сообщества Ubuntu


Получить помощь и пообщаться с другими пользователями Ubuntu можно
на irc канале #ubuntu-ru в сети Freenode
и в Jabber конференции ubuntu@conference.jabber.ru

Автор Тема: Squid + 2 сети Ethernet и Wi-Fi : провода работают, воздух нет 0_о  (Прочитано 1156 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Pegasus

  • Автор темы
  • Участник
  • *
  • Сообщений: 213
  • Ubuntu 8.04 AthXP 2500+ nForce2 1GB geForce6600GT
    • Просмотр профиля
значит так .
есть десктор с Ubuntu 7,04, ещё десктор Win Me , лаптоп Win ХР.
Squid настроен  на работу в сети с Win Me(провода) и Win XP(воздух)
Провода работают, воздух - нет.
Пинг есть и файлы перекачиваются.
настройки для сетей одинаковы однаковы ...
конфиг squid.conf
http_port 169.254.0.1:3128
http_port 169.254.1.1:3128 

#списки доступа и порты которые пропускаются
acl all src 0.0.0.0/0.0.0.0
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 SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl Wareless src 169.254.1.0/24
acl LocalNet src 169.254.0.0/24
acl SMTP port 25

http_access allow Wareless
http_access allow LocalNet
http_access deny !Safe_ports
http_access deny SMTP
http_access deny all

icp_port 0

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

cache_dir ufs /var/spool/squid 1000 16 256

cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log

cache_log /var/log/squid/cache.log

cache_log /var/log/squid/cache.log

mime_table /etc/squid/mime.conf

pid_filename /var/run/squid.pid

ftp_user anonymous@

ftp_list_width 32

ftp_passive on

ftp_sanitycheck on

icp_access deny all
« Последнее редактирование: 20 Сентября 2007, 21:39:06 от Pegasus »

Оффлайн Pegasus

  • Автор темы
  • Участник
  • *
  • Сообщений: 213
  • Ubuntu 8.04 AthXP 2500+ nForce2 1GB geForce6600GT
    • Просмотр профиля
fixed by me

 

Страница сгенерирована за 0.041 секунд. Запросов: 20.