فائر وال رول میں سورس زون/نیٹ ورک، ڈیسٹینیشن زون/نیٹ ورک، سروسز اور ایکشن (allow/deny) ہوتے ہیں۔Firewall rule mein source zone/network, destination zone/network, services aur action (allow/deny) hote hain.A firewall rule has source zone/network, destination zone/network, services, and an action (allow/deny).
رولز اوپر سے نیچے میچ ہوتے ہیں؛ پہلا میچنگ رول جیتتا ہے — order matter کرتا ہے۔Rules upar se neeche match hote hain; pehla matching rule jeetta hai — order matter karta hai.Rules are matched top-down; the first matching rule wins — order matters.
SNAT (masquerading) انٹرنیٹ رسائی کے لیے LAN کے پرائیویٹ IPs کو WAN IP کے پیچھے چھپاتا ہے۔SNAT (masquerading) internet access ke liye LAN ke private IPs ko WAN IP ke peeche chhupata hai.SNAT (masquerading) hides LAN private IPs behind the WAN IP for internet access.
DNAT (Full NAT) اندرونی سرور کو انٹرنیٹ پر پبلش کرتا ہے؛ اسے میچنگ فائر وال رول بھی چاہیے۔DNAT (Full NAT) internal server ko internet par publish karta hai; isay matching firewall rule bhi chahiye.DNAT (Full NAT) publishes an internal server to the internet; it needs a matching firewall rule too.
رولز کو لاگ ویوئر سے ویریفائی کریں: ہر ایونٹ پر action اور rule ID دیکھیں۔Rules ko log viewer se verify karein: har event par action aur rule ID dekhein.Verify rules with the log viewer: check the action and rule ID on each event.