Thursday, 3 September 2009

Using iptables to reject spoofing

If you have a Linux machine acting as a firewall for an internal network 192.168.0.* with two network interface.




Solution:


# iptables -A -input -i external_interface -s 192.168.0.0/24 -j REJECT


*The Linux firewall can refuse packets in two manager - iptables call them DROP and REJECT.




No comments:

Post a Comment