eth0 interfata cu 62.x.x.245
eth1 interfata cu 192.168.168.0/24
am incercat pe eth0 mi-a mers un timp apoi nu stiu ce naiba s-a
intamplat ca nu a mai mers
ah sa nu uit, in firewall am ceva de genul:
iptables -t nat -A POSTROUTING -s 192.168.168.2 -j SNAT --to 62.x.x.245
iptables -t nat -A POSTROUTING -s 192.168.168.3 -j SNAT --to 62.x.x.245
iptables -t nat -A POSTROUTING -s 192.168.168.4 -j SNAT --to 81.x.x.1
iptables -t nat -A POSTROUTING -s 192.168.168.5 -j SNAT --to 81.x.x.2
scriptul de jos functioneaza ok doar la download pe eth1 ... ceea ce
nu e prea bine dar nu stiu de ce nu merge pt eth0 .. poate ma ajuta
cineva !!
rm limitare.sh
./q_parser eth1 512 10000000 clienti_eth1.cfg > limitare.sh
chmod +x limitare.sh
./limitare.sh
./q_show -i eth1 -f clienti_eth1.cfg --kbytes
iar clienti_eth1.cfg este:
class class_1 {
bandwidth 592;
limit 100000000;
burst 128;
priority 1;
client cl_1 {
bandwidth 512;
limit 100000000;
burst 75000;
priority 2;
dst {
192.168.168.2/32;
192.168.168.3/32;
};
};
client cl_2 {
bandwidth 32;
limit 80;
burst 2;
priority 1;
dst {
192.168.168.4/32;
};
src {
192.168.168.4/32;
};
};
client cl_3 {
bandwidth 32;
limit 64;
burst 2;
priority 1;
dst {
192.168.168.5/32;
};
src {
192.168.168.5/32;
};
};
};
class default { bandwidth 8; };
----- Original Message -----
From: "George Mihalcea" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 9:43 AM
Subject: [rlug] Re: HTB limitare pe upload
> Probabil ca incerci pe alta placa de retea decat cea pe care trebuie.
>
> Andrei wrote:
>
> >Salutare,
> >am reusit sa fac limitarea la download cu HTB ul
> >dar am observat ca la upload nu mai mergeeeee ....
> >
> >
> >ce trebuie facut ?
> >
> >va multumesc
> >
> >
>
>
>
> ---
> Detalii despre listele noastre de mail: http://www.lug.ro/
>
>
>
---
Detalii despre listele noastre de mail: http://www.lug.ro/