how to block internet only for one client pc
I have two nics to my linux router. I am using NATing.
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE
where
(eth0 = global ip)
(eth1 = private ip)
which iptables command will prevent my one client pc to connect to internet. Can u give me iptables command to block net for that pc (take for e.g 192.68.1.5)
|