Sida loo xannibo IP ama mareegaha iyadoo la adeegsanayo PowerShell gudaha Windows 10
PowerShell waxay la socotaa module Netsecurity kaas oo kuu ogolaanaya inaad habayso Firewall-ka Windows( configure the Windows Firewall) . Waxaad isticmaali kartaa shaqada - New-NetFirewallRule - gudaha Netsecurity si aad u xannibto IP ama degel adoo isticmaalaya PowerShell gudaha Windows . Tilmaamku wuxuu kuu ogolaanayaa inaad abuurto xeer cusub oo soo galaya ama ka baxsan oo ku dara xeerka kombuyuutarka bartilmaameedka ah.
Jooji IP-ga(Block IP) ama Mareegta(Website) adoo isticmaalaya PowerShell
Iyadoo xannibaadda kala duwanaanta IP ay si fiican u shaqeyso, xannibaadda degel ama domain waa dhib badan. Taasi waa sababta oo ah waxaa jiri kara dhowr IP oo ku xiran domainka, iyo inta aad ka hortagi karto, xaliyaha DNS wuxuu ogaan karaa IP ka duwan mar kasta oo uu weydiiyo. Sidoo kale, mararka qaarkood, isla IP-ga waxaa isticmaali kara adeegyada la xidhiidha, iyo xannibaadda IP-ga waxay la macno tahay in sidoo kale la joojiyo adeegyada kale.
- Xiro(Block) ciwaanada IP-ga maxaliga ah ama interneedka
- Jooji mareegaha ama magacyada domainka
Waxaad u baahan doontaa mudnaanta maamulka si aad kuwaan u fuliso.
1] Jooji IP(Block IP) ama Range adoo isticmaalaya PowerShell
Isticmaalka amarkan, waxaad isticmaali kartaa hal ciwaan IP ah ama cinwaanno IP ah oo kala duwan. Ku fuli amarka soo socda PowerShell.
New-NetFirewallRule -DisplayName "Block XYZ.com IP address" -Direction Outbound –LocalPort Any -Protocol TCP -Action Block -RemoteAddress 146.185.220.0/23
Waxaad ku bedeli kartaa Block XYZ.com IP ciwaanka wax kasta oo aad xasuusan karto ama kuu fududaynaya inaad fahamto mar kasta oo aad dib u eegto. Ciwaanka IP-ga ee lagu sheegay dhamaadka doorashada RemoteAddress waa waxa la xannibi doono. Shabakad kasta ama adeeg kasta oo taas ku xalliya waa la xannibi doonaa. Waxaad ku beddeli kartaa ikhtiyaarka RemoteAddress doorashada (RemoteAddress)LocalAddress haddii IP-gu yahay ciwaanka maxalliga ah ee IP-ga.
Marka dilku dhamaado, waa inaad heshaa fariin xaalad ah sida ” Xeerka si guul leh ayaa dukaanka looga soo saaray. (65536)”. Fur Windows Firewall oo hubi haddii gelitaanka la heli karo. Marka la xaqiijiyo, waa inaad awood u yeelatid inaad wax badan ku darto adoo isticmaalaya PowerShell .
2] Jooji Website(Block Website) ama Domain addoo isticmaalaya PowerShell
Mar haddii shaqadu aysan taageerin xannibaadda URL , waxaan haynaa laba doorasho. Marka hore(First) waa in la waydiiyo dhammaan IP-ga suurtagalka ah ee goobtaas, oo xannibi iyaga. Midda labaad waa in la helo tirada rasmiga ah ee IP-ga ee la yaqaan oo la xannibo. Kuwa dambe waxay leeyihiin fursad hoose oo ah inay si lama filaan ah u xannibaan adeegyada kale marka loo eego kuwii hore. Taasi waxay tidhi, haddii xannibaadda domain ay lagama maarmaan tahay, waxaad had iyo jeer isticmaali kartaa software kale si aad u xannibto.
Resolve-DnsName "facebook.com"
Ogow cinwaanka IP-ga oo aan ku isticmaali doono habka labaad
New-NetFirewallRule -DisplayName "Block XYZ.com IP address" -Direction Outbound –LocalPort Any -Protocol TCP -Action Block -RemoteAddress 146.185.220.0/23
Markii aan tan ku isticmaalay YouTube , ma shaqeynin inkastoo IP-ga tooska ah la xannibay. Markii aan isticmaalay Facebook -ga , way shaqeysay. Markaa haddii website-ka lagu xallin karo iyadoo la adeegsanayo cinwaanno badan oo IP ah, markaa habkani ma shaqeyn doono.
Isticmaalka amarrada PowerShell waa mid toos ah. (PowerShell)Haddii aad waligaa isticmaashay deg degga amarka, way u fiican tahay taas; Waxaan rajeynayaa inaad awooday inaad xannibto IP ama degel adoo isticmaalaya PowerShell gudaha Windows si guul leh. Mar kasta(Anytime) oo aad rabto in aad ka saarto, waxaad ka samayn kartaa Windows Firewall ama waxaad isticmaali kartaa ka saar-NetFirewallRule(Remove-NetFirewallRule) amarka.
Related posts
PrivateWin10 waa Aaladda Qarsoon ee Windows 10 Hormarsan
Waa maxay Firewall iyo Ilaalinta Shabakadda ee Windows 10 iyo sida loo qariyo qaybtan
Sida loo damiyo Windows 10 Firewall
Hagaaji dhibaatooyinka Firewall ee Windows 10
Hagaaji Windows 10 Sharciyada Firewall & Dejinta
Daar ama dami Console Dhaxalka ah ee Talada degdega ah iyo PowerShell gudaha Windows 10
Ku qari ikhtiyaarka aaladaha gudaha Menu Macnaha guud ee Taskbar gudaha Windows 10
Sida loo joojiyo fasalada kaydinta la saari karo iyo gelida gudaha Windows 10
Sida PowerShell loogu daro Menu Context gudaha Windows 10
Ashampoo WinOptimizer waa software bilaash ah si kor loogu qaado Windows 10
U beddelo qoraalka PowerShell (PS1) faylka EXE oo wata IExpress gudaha Windows 10
Sida loo damiyo Cusbooneysiinta Dareewalka Tooska ah ee Windows 10
Sida loo damiyo Badbaadada Cusbooneysiinta Muuqaalka ee Windows 10
Dami rog-rog-gudbinta gudaha CMD iyo PowerShell gudaha Windows 10
Sida loo jadwaleeyo qoraalka PowerShell ee Jadwalka Hawsha ee Windows 10
Ku beddel Command Prompt PowerShell gudaha WinX Menu of Windows 10
3 siyaabood oo loogu badalo cinwaanka IP-ga gudaha Windows 10
Sida loo uninstall Windows 10 apps isticmaalaya PowerShell, in 3 tallaabo
Samee Firefox ka samee kontaroolada warbaahinta ee Firefox Windows 10 Shaashada qufulka
Ku socodsii qoraalada PowerShell gudaha adiga oo aan soo galin Windows 10