iptables - TechRepublic
Question
December 27, 2007 at 07:45 PM
j-mart

iptables

by j-mart . Updated 18 years, 5 months ago

I have been looking at my firewall script
on my home network. I am using a firewall /
gateway on a linux machine, using iptables.
My question is : from reading man pages and
one of my books if I want to block packets
from a particular IP address I can type at
command line – iptables -A INPUT -s
www.youtube.com -j DROP – and, in this case
I should not be able to connect to youtube.
I must be getting something wrong as this
line does not stop me from reaching
youtube. can anyone tell me what I have
done wrong ?

This discussion is locked

All Comments