tower
2011-07-18 08:31:12 UTC
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!
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!