Kiedyś bawiąc się w ruting, miałem napisane swoje regułki w iptables. Jednak, po zainstalowaniu nowego Debiana z wersją iptables 1.4.3.2 przy regule:
Kod: Zaznacz cały
iptables -t nat -I PREROUTING -i eth2 -m multiport -p tcp -s 192.168.0.100/32 -d 0/0 --destination-ports 80 -j DROP
Kod: Zaznacz cały
The "nat" table is not intended for filtering, the use of DROP is therefore inhibited.
Pozdrawiam.
Edycja:
Zrobiłem małe obejście wpisując:
Kod: Zaznacz cały
iptables -A FORWARD -i eth2 -s 192.168.0.100/32 -d 0/0 -j DROP