-1

I need to block this ip 188.43.64.80.

iptables -A OUTPUT -p ALL -d 188.43.64.80 -j DROP

This rule work for my local computer - i can't ping this ip.

But it's not working for computers which connected to me - they can ping this ip.

How can I make this rule to work in my network?

My network preferences - Internet from eth0.
Network from wlan0.

4

1 に答える 1

0

これはOUTPUTチェーン内にあり、このマシンが出力しているパケットにのみ影響します。FORWARDこのマシンが転送しているパケットに影響を与える同様のルールをチェーンに追加したいとします。

于 2012-11-05T14:51:11.140 に答える