[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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!


Reply to: