Gente aca vamos posteando los módulos finalizados, para una última revisión y su posterior ensamble. Cada quien ensamblará su parte.
Saludos
Ramiro
edit /etc/brazilfw/custom/squid.cfg
En la linea SQUID_REPORT=' '
Coloque 'sarg'
Guardey salga
edit /etc/brazilfw/custom/squid.cfg
En la linea SARG_LANGUAGE=' '
Coloque 'Portuguese' o 'English' o 'Spanish'
Guarde y salga
edit /etc/brazilfw/custom/squid.cfg
En la linea DELETE_REPORT_AFTER_DAYS='0'
0 (CERO) = Los registros estan deshabilitados
Si coloca por ejemplo '30', los archivos con mas de 30 dias seran borrados.
Guarde y salga
edit /etc/brazilfw/custom/squid.cfg
En la linea SQUID_REPORT=' '
Coloque 'webalizer'
Guarde y salga
/etc/init.d/squid stop
/etc/init.d/squid start
https://ns.brazilfw.local:8181/report
edit /etc/brazilfw/brazilfw.cfg
En la linea USE_QOS='no' = QOS deshabilitado
Modifiquela para USE_QOS='yes' para habiltar QOS
Guarde y salga
QOS_DEFAULT_UP='128'
QOS_DEFAULT_DOWN='256'
QOS_DEFAULT_GUARANTEE='10'
[IP] [DOWN kbits] [UP kbits] [GUARANTEE %]
Ejemplo
192.168.0.0/24 512 128 30
192.168.1.1 512 128 30
Ejemplo:
192.168.0.0/24 512 128
192.168.1.2 256 64
192.168.1.3 256 64
192.168.1.4 256 64
etc ....
Ejemplo:
192.168.0.0/27 512 128
192.168.1.0/24 512 128
Ejemplo:
# Modo incorrecto:
192.168.0.0/27 512 128
192.168.0.1/27 128 64
# Modo Correcto
192.168.0.1/27 128 64
192.168.0.0/27 512 128
edit /etc/brazilfw/qos.cfg
/etc/rc.d/rc.qos
DNSSERVER='yes'
DNS1=''
DNS2=''
DHCP_DNS1=''
DHCP_DNS2=''
DNSSERVER='no'
[ip start] [ip end]
Por ejemplo:
192.168.0.2 192.168.0.50 # Va de 192.168.0.2 a 192.168.0.50
Ejemplo:
192.168.0.2 192.168.0.50
192.168.0.60 192.168.0.90
192.168.0.95 192.168.0.100
[ip] [mac]
Ejemplo:
192.168.0.55 00:00:00:00:00:00
edit /etc/brazilfw/brazilfw.cfg
Guarde y salga
edit /etc/brazilfw/dhcp.cfg
Guarde y salga
edit /etc/brazilfw/reserve.cfg
Guarde y salga
backup
/etc/init.d/dhcp start
/etc/init.d/dhcp reload
/etc/init.d/dhcp stop
Ejemplo:
local 192.168 0 254
local 192.168 0 254 dhcp
local 10.10 0 254 dhcp
10.10.0.0/24 256 128
local 10.20 0 254 dhcp
10.20.0.0/24 512 128
[ip] [mac]
10.20.1.2 00:00:00:00:00:00
#<active> <alias> <protocol> <port> <ip-destination> [port]
#active: yes/no
#protocol: tcp/udp/all
#alias: all/name of logical connection
yes internet all 21 192.168.0.11 21 #ejemplo
yes all all 21 192.168.0.11 21 #ejemplo
/etc/rc.d/rc.forward
edit /etc/brazilfw/physical/internet
Modifique a: INTERFACE_MAC="00:00:00:00:00:00"
INTERFACE_TYPE="cabled"
INTERFACE_PHYSICAL="eth0"
INTERFACE_MAC="00:00:00:00:00:00"
/etc/rc.d/rc.inet
local 10.50 1 10
Guarde y salga
/etc/rc.d/rc.subnet
ifconfig
/etc/rc.d/rc.subnet
backup
edit /etc/brafilw/logical/local2
coloque esto:
LINK_ALIAS="local" # Nombre de la interface fisica
LINK_CONNECTION="local" # Tipo de conexion
LINK_TYPE="static"
LINK_IP="10.50.0.1" # Nueva subred
LINK_NETMASK="255.255.255.128" # /25 (128 utilizables)
Guarde y salga
/etc/rc.d/rc.inet
edit /etc/brazilfw/dhcp.cfg
10.50.0.2 10.50.0.127
Guarde y salga
/etc/init.d/dhcp reload
get-pkg /users/woshman/build-tree
Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante