Usually, you have to specify the interface. For example, I run a
caching-only nameserver on my firewall that I don't want anyone to be able
to query from outside the firewall, so I run this command:
iptables -A INPUT -i eth0 -p tcp --dport 53 -j DROP
Hope that syntax helps. Might also want to c
I am attempting to create a iptables firewall for a server with two
ethernet cards/two ip addresses. It is just your average webserver that
has two domain names/webpages in it (virtual hosting with Apache).
I can get iptables to work with one ip address, but not the 2nd one. It
seems to ignore the