[FUGSPBR] IPFW PIPE....
William Armstrong
biosystems em gmail.com
Sex Nov 5 09:02:32 BRST 2004
testa estas regras assim
############################################
$IPFW add count all from 10.0.1.2/32 to any keep-state in via fxp0
$IPFW add count all from any to 10.0.1.2/32 keep-state out via fxp0
# Libera micro Full-Duplex
$IPFW add pipe 5 all from any to 10.0.1.2/32 keep-state out via fxp0
$IPFW add pipe 6 all from 10.0.1.2/32 to any keep-state in via fxp0
$IPFW pipe 5 config mask src-ip 0x000000ff bw 100Mbit/s
$IPFW pipe 6 config mask dst-ip 0x000000ff bw 100Mbit/s
###########################################
$IPFW add count all from 10.0.1.3/32 to any keep-state in via fxp0
$IPFW add count all from any to 10.0.1.3/32 keep-state out via fxp0
# Libera micro 16KBytes
$IPFW add pipe 7 all from any to 10.0.1.3/32 keep-state out via fxp0
$IPFW add pipe 8 all from 10.0.1.3/32 to any keep-state in via fxp0
$IPFW pipe 7 config mask src-ip 0x000000ff bw 16ytes/s
$IPFW pipe 8 config mask dst-ip 0x000000ff bw 16ytes/s
##########################################
$IPFW add count all from 10.0.1.5/32 to any keep-state in via fxp0
$IPFW add count all from any to 10.0.1.5/32 keep-state out via fxp0
# Libera micro 16KBytes
$IPFW add pipe 7 all from any to 10.0.1.5/32 keep-state out via fxp0
$IPFW add pipe 8 all from 10.0.1.5/32 to any keep-state in via fxp0
##########################################
$IPFW add count all from 10.0.1.0/24 to any keep-state out via fxp0
$IPFW add count all from any to 10.0.1.0/24 keep-state in via fxp0
# Traffic Shaper Rede 10.0.1.0/24
$IPFW add pipe 9 all from 10.0.1.0/24 to any keep-state out via fxp0
$IPFW add pipe 10 all from any to 10.0.1.0/24 keep-state in via fxp0
$IPFW pipe 9 config mask src-ip 0x000000ff bw 8KBytes/s
$IPFW pipe 10 config mask dst-ip 0x000000ff bw 8KBytes/s
se nao funcionar tente remover o via DEVICE deixando somente in e out.
--
-=-=-=-=-=-=-=-=-=-
William David Armstrong
Bio Systems Security.
ICQ 10253747 MSN bio__wolf em hotmail.com
_______________________________________________________________
Para enviar um novo email para a lista: fugspbr em fugspbr.org
Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd