Search This Blog

Monday, July 18, 2011

Inserting new rule with wildcard

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!


--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/4E23EF50.1060708@gmail.com

No comments: