Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
Problem ze stronami http://forum.freesco.pl/viewtopic.php?f=22&t=9771 |
Strona 1 z 1 |
Autor: | Anonymous [ niedziela, 6 listopada 2005, 15:37 ] |
Tytuł: | Problem ze stronami |
Witam! Szukałem ale nic nie znalazłem ciekawego na ten temat. Problem jest nastepjacy niby internet chodzi a strony otwiraja sie dlugo pliki ciagnie ok (oczywisci mam nnd z lipca) zrobiłem tak: to eth1 192.168.100.1 dodalem nastepujace aliasy poleceniem: ifconfig eth1:1 10.1.0.1 netmask 255.255.255.0 broadcast 10.1.0.255 up ifconfig eth1:2 192.168.70.1 netmask 255.255.255.0 broadcast 10.1.0.255 up i tu wsystko działa ok. do nice dodałem tu config: <global> iface inet eth0 80.80.80.80/29 iface local eth1 192.168.100.1/24 iface local eth1 10.1.0.1/24 iface local eth1 192.168.70.1/24 do not shape local 80.80.80.80 with 192.168.100.0/24 do not shape local 80.80.80.80 with 10.1.0.0/24 do not shape local 80.80.80.80 with 192.168.70.0/24 #do not shape local 192.168.100.1 with 192.168.100.0/24 #do not shape local 10.1.0.1 with 10.1.0.0/24 #do not shape local 192.168.70.1 with 192.168.70.0/24 #shape router true low 8kbps ceil 14kbps prio 2 stats unit kbps dump 5c file /var/www/stats/nsstats.txt resolve hostname true method imq reload 1s </global> <download> link speed 512kbps shape 409kbps user low 0kbps ceil 15kbps strict 80% prio 5 # interactive rate 0kbps ceil 0kbps # interactive srcport 27960,22 dstport 27960,22 # interactive srcip 208.231.90.235 # interactive u32 match ip protocol 1 0xff # interactive u32 match ip tos 0x10 0xff policy dynamic </download> <upload> link speed 64kbps shape 50kbps user low 0kbps ceil 12kbps strict 80% prio 5 interactive rate 3kbps ceil 0kbps interactive srcport 22,80,8080,27960 dstport 22,80,8080,27960 # interactive dstip 208.231.90.235 policy dynamic </upload> # Porty # Quake 3: 27960 wczesniej w global było tak i tez to samo <global> iface inet eth0 80.80.80.80/29 iface local eth1 192.168.100.1/24 iface local eth1 10.1.0.1/24 iface local eth1 192.168.70.1/24 do not shape local 80.80.80.80 with 192.168.100.0/24 do not shape local 80.80.80.80 with 10.1.0.0/24 do not shape local 80.80.80.80 with 192.168.70.0/24 do not shape local 192.168.100.1 with 192.168.100.0/24 do not shape local 10.1.0.1 with 10.1.0.0/24 do not shape local 192.168.70.1 with 192.168.70.0/24 shape router true low 8kbps ceil 14kbps prio 2 stats unit kbps dump 5c file /var/www/stats/nsstats.txt resolve hostname true method imq reload 1s </global> w users: tylko kilka wszystkie pozostale tak samo. 192.168.100.3 eth1 dl_ceil 120kbit ul_ceil 48kbit 192.168.100.134 eth1 dl_ceil 120kbit ul_ceil 48kbit 10.1.0.2 eth1 dl_ceil 120kbit ul_ceil 48kbit 10.1.0.3 eth1 dl_ceil 120kbit ul_ceil 48kbit 192.168.70.2 eth1 dl_rate 160kbit ul_rate 48kbit squid konfiguracja standardowa dodane tylko dodatkowo te linijki: dns_nameservers 192.168.100.1 192.168.70.1 10.1.0.1 194.204.159.1 194.204.152.34 acl users src 192.168.100.0/255.255.255.0 acl users src 192.168.70.0/255.255.255.0 acl users src 10.1.0.0/255.255.255.0 no i obsluga imq uruchomiona z opisu na wiki http://www.wiki.nnd.freesco.pl/index.php/Administracja Prosze o pomoc bo mi nic ciekaweg juz do glowy nie przytchodzi. |
Autor: | Anonymous [ środa, 9 listopada 2005, 01:27 ] |
Tytuł: | Sam sobie juz odpowiem |
Witam wszystkich co tu zagladają jedyna sensowna i wytestowana odpowiedzia jest zmiana dystrybucji poprostu na NND nie dało sie tego zrobić ale na Slackware owszem jak bede miał troszkie czasu i jak dopracuje wszystkie szczegliki to opisze krok po kroku co i jak nalezy zrobic. Pozdrowiena dla Moderatorów PS jak sie myle ze sie tego nieda zrobic to proszę mie poprawić. ![]() |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |