Scratch سے complete ASA firewall deploy کریں: interfaces، routing، NAT، ACLs، AAA، VPN readiness، اور logging — پھر ہر layer validate کریں۔
Scratch se complete ASA firewall deploy karo: interfaces, routing, NAT, ACLs, AAA, VPN readiness, aur logging — phir har layer validate karo.
Deploy a complete ASA firewall from scratch: interfaces, routing, NAT, ACLs, AAA, VPN readiness, and logging — then validate every layer.
Firewall بنانا نیا bank branch کھولنے جیسا ہے: vault set کریں (interfaces)، visitor rules لکھیں (ACLs)، phone lines connect کریں (NAT)، staff badges issue کریں (AAA)، armored tunnels کھودیں (VPNs)، اور cameras لگائیں (logging) — پھر customers کے آنے سے پہلے سب test کریں۔
Firewall banana naya bank branch kholne jaisa hai: vault set karo (interfaces), visitor rules likho (ACLs), phone lines connect karo (NAT), staff badges issue karo (AAA), armored tunnels khodo (VPNs), aur cameras lagao (logging) — phir customers ke ane se pehle sab test karo.
Building a firewall is like opening a new bank branch: set up the vault (interfaces), write the visitor rules (ACLs), connect the phone lines (NAT), issue staff badges (AAA), dig the armored tunnels (VPNs), and install the cameras (logging) — then test everything before customers arrive.

EVE-NG میں fresh ASAv۔ Topology: inside LAN 10.1.1.0/24 (G0/0)، outside 203.0.113.2/24 gw 203.0.113.1 (G0/1)، DMZ 172.16.1.0/24 web server 172.16.1.10 کے ساتھ (G0/2)، mgmt 192.168.10.10/24۔ Public IP 203.0.113.10 web server کے لیے reserved ہے۔
EVE-NG mein fresh ASAv. Topology: inside LAN 10.1.1.0/24 (G0/0), outside 203.0.113.2/24 gw 203.0.113.1 (G0/1), DMZ 172.16.1.0/24 web server 172.16.1.10 ke sath (G0/2), mgmt 192.168.10.10/24. Public IP 203.0.113.10 web server ke liye reserved hai.
Fresh ASAv in EVE-NG. Topology: inside LAN 10.1.1.0/24 (G0/0), outside 203.0.113.2/24 gw 203.0.113.1 (G0/1), DMZ 172.16.1.0/24 with web server 172.16.1.10 (G0/2), mgmt 192.168.10.10/24. Public IP 203.0.113.10 reserved for the web server.
Phase 1 — Foundation: hostname، passwords، اور management interface، بالکل asa-01 کی طرح۔
Phase 1 — Foundation: hostname, passwords, aur management interface, bilkul asa-01 ki tarah.
Phase 1 — Foundation: hostname, passwords, and the management interface, exactly as in asa-01.
hostname ASA-PRODdomain-name corp.localenable password Cisc0En4blepasswd Cisc0Logininterface management 0/0nameif managementsecurity-level 100ip address 192.168.10.10 255.255.255.0no shutdownexitPhase 2 — Interfaces & routing: تینوں interfaces کو نام دیں، security levels set کریں، IPs assign کریں، اور default route add کریں۔
Phase 2 — Interfaces & routing: teeno interfaces ko naam do, security levels set karo, IPs assign karo, aur default route add karo.
Phase 2 — Interfaces & routing: name all three interfaces, set security levels, assign IPs, and add the default route.
interface FastEthernet0/0nameif insidesecurity-level 100ip address 10.1.1.1 255.255.255.0no shutdownexitinterface FastEthernet0/1nameif outsidesecurity-level 0ip address 203.0.113.2 255.255.255.0no shutdownexitinterface FastEthernet0/2nameif dmzsecurity-level 50ip address 172.16.1.1 255.255.255.0no shutdownexitroute outside 0.0.0.0 0.0.0.0 203.0.113.1 1Phase 3 — NAT: inside users کے لیے dynamic PAT، DMZ web server کو اس کے public IP سے map کرنے والا static NAT۔
Phase 3 — NAT: inside users ke liye dynamic PAT, DMZ web server ko uske public IP se map karne wala static NAT.
Phase 3 — NAT: dynamic PAT for inside users, static NAT mapping the DMZ web server to its public IP.
object network INSIDE_NETsubnet 10.1.1.0 255.255.255.0nat (inside,outside) dynamic interfaceexitobject network DMZ_WEBhost 172.16.1.10nat (dmz,outside) static 203.0.113.10exitPhase 4 — Access control: object groups plus ACLs تاکہ دنیا صرف DMZ web server تک 80/443 پر پہنچے، جبکہ inside users کو full outbound access ہو۔
Phase 4 — Access control: object groups plus ACLs taake duniya sirf DMZ web server tak 80/443 par pahunche, jabke inside users ko full outbound access ho.
Phase 4 — Access control: object groups plus ACLs so the world reaches only the DMZ web server on 80/443, while inside users have full outbound access.
object-group network DMZ_SERVERSnetwork-object host 172.16.1.10exitobject-group service WEB_PORTS tcpport-object eq wwwport-object eq httpsexitaccess-list OUTSIDE_IN extended permit tcp any object-group DMZ_SERVERS object-group WEB_PORTSaccess-group OUTSIDE_IN in interface outsideaccess-list INSIDE_OUT extended permit ip 10.1.1.0 255.255.255.0 anyaccess-group INSIDE_OUT in interface insidePhase 5 — AAA & management: local admin، SSH/HTTPS کے لیے AAA، RSA keys، اور SSH/ASDM کے لیے management-only access۔
Phase 5 — AAA & management: local admin, SSH/HTTPS ke liye AAA, RSA keys, aur SSH/ASDM ke liye management-only access.
Phase 5 — AAA & management: local admin, AAA for SSH/HTTPS, RSA keys, and management-only access for SSH and ASDM.
username fwadmin password FwAdm1n! privilege 15aaa authentication ssh console LOCALaaa authentication http console LOCALcrypto key generate rsa modulus 2048ssh version 2ssh 192.168.10.0 255.255.255.0 managementhttp server enablehttp 192.168.10.0 255.255.255.0 management🖱️ ASDM final review: Configuration > Firewall > Access Rules اور NAT Rules — full policy visually confirm کریں۔ASDM final review: Configuration > Firewall > Access Rules aur NAT Rules — full policy visually confirm karo.ASDM final review: Configuration > Firewall > Access Rules and NAT Rules — confirm the full policy visually.
Phase 6 — Visibility: logging اور threat detection enable کریں تاکہ نیا firewall پہلے دن سے خود پر نظر رکھے۔
Phase 6 — Visibility: logging aur threat detection enable karo taake naya firewall pehle din se khud par nazar rakhe.
Phase 6 — Visibility: enable logging and threat detection so the new firewall watches itself from day one.
logging enablelogging timestamplogging buffered warningsthreat-detection basic-threatthreat-detection scanning-threatPhase 7 — Validate: DMZ web flow اور inside outbound flow کو packet-trace کریں (دونوں ALLOW ہونے چاہیے)، پھر save کریں۔ Handover کے لیے final config document کریں۔
Phase 7 — Validate: DMZ web flow aur inside outbound flow ko packet-trace karo (dono ALLOW hone chahiye), phir save karo. Handover ke liye final config document karo.
Phase 7 — Validate: packet-trace the DMZ web flow and an inside outbound flow (both must ALLOW), then save. Document the final config for handover.
packet-tracer input outside tcp 203.0.113.50 40000 203.0.113.10 80 detailedpacket-tracer input inside tcp 10.1.1.50 40001 8.8.8.8 443 detailedwrite memoryسارے interfaces up، default route موجود، `show nat` اور `show xlate` correct، دونوں packet-traces ALLOW، ASDM management سے reachable، اور config saved — lab میں firewall production-ready ہے۔
Sare interfaces up, default route mojood, `show nat` aur `show xlate` correct, dono packet-traces ALLOW, ASDM management se reachable, aur config saved — lab mein firewall production-ready hai.
All interfaces up, default route present, `show nat` and `show xlate` correct, both packet-traces ALLOW, ASDM reachable from management, and config saved — the firewall is production-ready in the lab.
show interface ip briefshow routeshow natshow access-listshow run | include aaa authentication