[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-team] Ipchains and blocking rules



Bonjour à tous,

J'ai un petit problème de configuration avec ipchains.

J'aimerais pouvoir bloquer certains type de traffic, mais les
différentes options que je donne à ipchains ne semble pas bloquer quoi
que ce soit.

J'ai un réseau masqueradé derrière le firewall.
Donc à la base j'ai ceci comme règle : 


/sbin/ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
target     prot opt     source                destination          
ports
MASQ       all  ------  192.168.2.0/24       anywhere              n/a
Chain output (policy ACCEPT):


Et comme indiqué dans le ipchains-HOWTO : j'ajoute :

/sbin/ipchains -A output -d 195.238.0.185 -j REJECT

la commande est acceptée, mais j'ai toujours accès au site.

De même pour le traffic IRC...

Qu'est-ce que je peux faire ?

Merci

Bruno
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/