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

Wilcard w regule iptables



Witam

Do całkiem sprawnie dzialającego firewalla muszę dodać regułę opartą na wilcardzie.

Próbuje:

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



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



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

ale niestety żaden sposób nie jest poprawny.

Bez wildcarda wpis jest poprawny takze DNS jest wpuszczany.

Pozdrawiam!


Reply to: