Re: slackware with 2 nics as firewall vs netgear router/firewall
"LittleJohn" <Littlejohn@DeleteMe.knology.net> schreef in bericht
news:vfgcuhcubg6p77@corp.supernews.com...
> chello wrote:
> > iptables --add INPUT --source microsoft.com --jump DROP
> > iptables --add INPUT --source doubleclick.net --jump DROP
>
> Yes, but what I want is:
> iptables --add INPUT --source *microsoft* --jump DROP
> iptables --add INPUT --source *doubleclick* --jump DROP
> iptables --add INPUT --source *ads* --jump DROP
>
iptables --add INPUT --source 207.46/16 --jump DROP # microsoft
iptables --add INPUT --source 216.73/16 --jump DROP # doubleclick
is that more general?
Joost |