Ok am vazut, am citit si chiar e marfa cu htb-tools e mult mai simplu decat
am crezut. Acu insa am alta problema. La startul HTB imi da chestia asta:
Starting HTB... perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US:en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
...failed                                                  [FAILED]

cum o rezolv??

Vlad


----- Original Message ----- 
From: "Vanatoru Mircea" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 29, 2005 8:36 PM
Subject: [rlug] Re: Intrebare incepator HTB


Eu am in felul urmator config.
- in fis de firewall:

#___________

iptables -t mangle -N mark_horiz_src
iptables -t mangle -N mark_horiz_dst
iptables -t mangle -A PREROUTING -i $INTERFATA_ISP -j mark_horiz_src
iptables -t mangle -A PREROUTING -i $INTERFATA_LOCALA -j mark_horiz_dst
iptables -t mangle -A OUTPUT -o $INTERFATA_ISP -j mark_horiz_dst

#__________

# Mark metro
mipclasses -s mark_horiz_src -d mark_horiz_dst -m 1
17 < metro.txt | iptables-restore -n

# am limitat cu 17 metro
#metro.txt este fisierul care contine clasele de metro de la ISP

- in fis de limitari (htb-tools)

eth1-qos.cfg # interfata locala la mine

class Metro_Clienti
{
bandwidth 1024;
limit 10240;
burst 32;
priority 1;

client Client_1
{
bandwidth 512;
limit 5120;
burst 16;
priority 1;
mark 17;
dst { 192.168.1.2/32; };
};

client Client_2
{
bandwidth 512;
limit 5120;
burst 16;
priority 1;
mark 17;
dst { 192.168.1.3/32; };
};
};

class Extern
{
bandwidth 512;
limit 1024;
burst 32;
priority 1;

client Calc_1
{
bandwidth 256;
limit 512;
burst 2;
priority 1;
dst { 192.168.1.2/32; };
};

client Calc_2
{
bandwidth 256;
limit 512;
burst 2;
priority 1;
dst { 192.168.1.3/32; };
};
};

# END

Cam asa sunt lucrurile la mine.
Pentru upload se subintelege, ideea ca la mine este simplu pentru ca
clasa de ip-uri vizibile in internet pentru calc. care au acces la
internet si pot facelimitare pe fiecare in parte cum doresc.

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui