+ Responder ao Tópico



  1. #1

    Padrão regras iptables

    estava usando essas regras no kernel 2.4.26
    # $IPT -A FORWARD -m unclean -j DROP
    # $IPT -A INPUT -i eth0 -m unclean -j DROP

    agora no kernel 2.6.10 aparece isso

    root@fw# :~# iptables -A FORWARD -m unclean -j DROP
    iptables: No chain/target/match by that name
    root@fw# :~# iptables -A INPUT -i eth0 -m unclean -j DROP
    iptables: No chain/target/match by that name

    alguma dica ?

  2. #2
    felco
    Visitante

    Padrão regras iptables

    Voce precisa aplicar o patch do netfilter chama POM pega ele em www.netfilter.org
    Depois que voce aplicar oque voce quer:
    # cd /usr/src/linux
    # make menuconfig
    Habilita oque vc quer no kernel salve e sai
    # make && make modules_install
    # mount /boot
    # mv /boot/bzImage /boot/bzImage.old
    # cp arch/i386/boot/bzImage /boot
    # umount /boot
    # reboot

    ja era

    PS.: Nao tenha tanta confianca nesses comandos pode da erro em algum lugar fica esperto