Hi People Forum,
I have one machine with deux address ip's in eth1.
address ip 1 10.10.10.10
address ip 2 20.20.20.20
How i can only pcs with address 10.0.0.0/24 can ping 10.10.10.10 and pcs with address 20.0.0.0/24 can ping only 20.20.20.20.
par example
Quote:
#iptables -A INPUT 10.0.0.0/24 10.0.0.0/24 ACCEPT
#iptables -A INPUT 10.0.0.0/24 20.0.0.0/24 DROP
|
Quote:
#iptables -A OUTPUT 10.0.0.0/24 10.0.0.0/24 ACCEPT
#iptables -A OUTPUT 10.0.0.0/24 20.0.0.0/24 DROP
|
Thanks in Advance