Pessoal,
Ainda "apanho" desses "in/out" do IPFW. Estou tentando LIMITAR o DOWN/UP de
um determinado ip a 100kbps.
Segue a regra:
### LIMITANDO DOWNLOAD/UPLOAD / DISTRIBUIDOR ###
ipfw add pipe 101 ip from 192.168.1.198 to any out via vr1
ipfw add pipe 102 ip from any to 192.168.1.198 in via vr1
ipfw pipe 101 config bw 100Kbit/s
ipfw pipe 102 config bw 100Kbit/s
# vr1: interface interna
# vr0: interface externa
Fico acompanhando no iftop mas sempre passa do valor limitado... tenho
outras regras de download que limitam perfeitamente... mas upload tá
complicado.
[root@zebedeu:/etc/firewall] # cat /bin/banda-servidor
iftop -P -m 200000 -i vr1 -N -F 192.168.1.198/32
Dicas?
--
Welkson Renny de Medeiros
Focus Automação Comercial
Desenvolvimento / Gerência de Redes
welkson@xxxxxxxxxxxxxxxxxxxxx
Powered by ....
(__)
\\\'',)
\/ \ ^
.\._/_)
www.FreeBSD.org
|