Tema:
Hola a todos saben tengo el siguiente problema, espero que me ayuden.
Tengo instalado Centos 5.2 y comparti mi conexion de internet con arno-iptables-firewall, hice las respectivas pruebas y todo bien, pero cuando instale htb-gen para segmentar el internet ya no tuve respuesta a la ip del servidor y mucho menos internet
Esta es la configuracion de htb-gen
# vi /etc/htb-gen/htb-gen.conf
Aqui declaro, las interfaces de red tanto la que esta conectada al internet como la que esta del lado LAN:
iface_down="eth1" # Server LAN iface
iface_up="eth0" # Server INET iface
total_rate_down=512
total_rate_up=512
prio_ports=80,8080,25,110,443,1863
# vi /etc/htb-gen/htb-gen-rates.conf
172.16.1.2 32 64 0 32
172.16.1.3 32 64 0 32
172.16.1.4 32 64 0 32
# vi /usr/bin/htb-gen
iptables -t mangle -N htb-gen.down
iptables -t mangle -A FORWARD -o ${iface_down} -j htb-gen.down
iptables -t mangle -A OUTPUT -o ${iface_down} -j htb-gen.down
iptables -t mangle -N htb-gen.up
iptables -t mangle -A POSTROUTING -o ${iface_up} -j htb-gen.up
iptables -t mangle -A FORWARD -o ${iface_up} -j htb-gen.up
#delete old htb-gen entries(chains)
iptables -t mangle -D FORWARD -o ${iface_down} -j htb-gen.down 2>/dev/null
iptables -t mangle -D OUTPUT -o ${iface_down} -j htb-gen.down 2>/dev/null
iptables -t mangle -D POSTROUTING -o ${iface_up} -j htb-gen.up 2>/dev/null
iptables -t mangle -D FORWARD -o ${iface_up} -j htb-gen.up 2>/dev/null
# htb-gen tc_all
# iptables -nL -t mangle