Sida loo isticmaalo taliska Netsh si aad u maamusho Windows Firewall

Netsh ama Shell Shell(Network Shell) waa adeeg-khadka taliska kaas oo ka caawiya maamulayaasha IT-ga inay habeeyaan oo arkaan shaqooyinka kala duwan ee la xidhiidha shabakada Windows 10 . Utility-gan waxaa loo isticmaali karaa in lagu maareeyo Windows Firewall(manage Windows Firewall) sidoo kale, iyo haddii aad raadineyso siyaabo toos ah oo ku yaal khadka taliska, markaa waa utility faa'iido leh in la ogaado oo la isticmaalo.

Isticmaal taliska Netsh(Use Netsh Command) si aad u maamusho Windows Firewall

Qaabeynta Firewall Windows(Windows Firewall) ayaa si qoto dheer loogu heli karaa goobaha, taas oo ka dhigaysa mid aan la tirin karin. Ma jiraan menus macnaha guud iyo hab hal-tallaabo ah oo lagu sameeyo dhawr waxyaalood. Waa faa'iido markaad u baahan tahay inaad marar badan sameyso. Waxaad ku kaydin kartaa amarka faylka BAT oo aad ku socodsiin kartaa ogolaanshaha maamulka si aad si dhakhso ah ufuliso.

Amarka Netsh si uu u maamulo Windows Firewall 

Waxaa jiri jiray netsh firewallamar, laakiin taas waa la bedelay ama waa laga saari doonaanetsh advfirewall.

Liiska xulashooyinka aad helayso advfirewall waa sida soo socota:(The list of options you get the advfirewall are as follows:)

  • consec – Isbeddellada *netsh advfirewall consec' macnaha guud.
  • daadinta - Waxay soo bandhigaysaa qoraalka qaabeynta.
  • dhoofinta - Waxay u dhoofisaa siyaasadda hadda jirta fayl.
  • firewall – Isbeddellada *netsh advfirewall firewall' macnaha guud.
    • ku dar – Wuxuu(– Adds) ku darayaa xeer cusub oo soo galaya ama ka baxaya.
    • tirtirto - Waxa uu(– Deletes) tirtiraa dhammaan xeerarka u dhigma dab-damiska.
    • daadinta - Waxay soo bandhigaysaa qoraalka qaabeynta.
    • set - Waxay dejisaa(– Sets) qiyam cusub oo ku saabsan sifooyinka qaanuunka jira.
    • show - Waxay soo bandhigaysaa xeerka dab-damiska ee cayiman.
  • caawimo - Wuxuu muujiyaa liiska amarrada.
  • soo dejinta - Waxay soo dejisaa faylka siyaasadda kaydka siyaasadda ee hadda jira.
  • mainmode – Isbeddellada *netsh advfirewall mainmode' macnaha guud.
  • Monitor – Isbeddellada *netsh advfirewall Monitor' macnaha guud.
  • dib u dejin - Waxay dib ugu dejisaa(Resets) siyaasada siyaasada ka baxsan sanduuqa.
  • set – Dejiya(Sets) hal-profile ama goobaha caalamiga ah.
  • show - Wuxuu(– Displays) muujiyaa astaanta ama hantida caalamiga ah.

Liiska amarrada Firewall (Tusaaleyaal)(List of Firewall Commands (Examples))

Waa kuwan liiska qaar ka mid ah amarada caadiga ah ee aad isticmaali karto, sida inaad awood u siiso dekedaha, oggolaanshaha barnaamijyada, iyo wixii la mid ah.

Daar Deked(Enable a Port)

netsh advfirewall firewall add rule name= "Open Port 80" dir=in action=allow protocol=TCP localport=80

Tirtir barnaamijyada ama dekedaha(Delete enabled programs or ports)

netsh advfirewall firewall delete rule name= rule name program="C:MyAppMyApp.exe"

netsh advfirewall firewall delete rule name= rule name protocol=udp localport=500

Daar adeegyo gaar ah(Enable specific services)

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes

netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

Daar dab-damiska Windows(Enable Windows firewall)

netsh advfirewall set currentprofile state on

Soo celi khaladaadka siyaasadda(Restore policy defaults)

netsh advfirewall reset

Waxaa jira waxyaabo badan oo kale oo aad ku samayn karto utility Netsh .

Daboolista dhamaantood waxay noqon doontaa mid aan la dabooli karin, sidaa darteed waxaan kugula talineynaa inaad akhrido faahfaahin dheeraad ah oo ku saabsan Dukumentiyada Microsoft ee rasmiga ah.( official Microsoft Documents.)

Akhri soo socda(Read next) : Sida loogu oggolaado Pings ( Codsiyada ICMP Echo) iyada oo loo marayo Windows Firewall(allow Pings (ICMP Echo requests) through Windows Firewall) .



About the author

Waxaan u shaqeeyaa lataliye ahaan Microsoft. Waxaan ku takhasusay horumarinta barnaamijyada mobaylada ee aaladaha Apple iyo Android, waxaanan sidoo kale ka qayb qaataa horumarinta barnaamijyada Windows 7. Waayo-aragnimadayda taleefannada casriga ah iyo Windows 7 waxay iga dhigaysaa musharax ku habboon booskan.



Related posts