Inserting new rule with wildcard

tower <[email protected]> Mon, 18 Jul 2011 10:31:12 +0200
Newsgroups gmane.linux.debian.devel.firewall
Message-ID <[email protected]>
Hi

Is there any way of use asterisk as wilcard in iptables rule?

For example:

iptables -I OUT_APACHE -d *.fbcdn.com -j ACCEPT
iptables v1.3.3: host/network `*.fbcdn.com' not found

or

iptables -I OUT_APACHE -d '*.fbcdn.com' -j ACCEPT
iptables v1.3.3: host/network `*fbcdn.com' not found

or

iptables -I OUT_APACHE -d "*.fbcdn.com" -j ACCEPT
iptables v1.3.3: host/network "*.fbcdn.com' not found

returns error.

Regards!