Root > Documents > Exploits / Vulnerabilities > Firewall Yönetim KOmutları
Cyber-Warrior.Org \ Doküman \ Exploits / Vulnerabilities > Firewall Yönetim KOmutları
Madde
  Yazar : T4N
  Date : 09.05.2010 11:27:41
 
# Firewall Yönetim KOmutları
 

Arabilgi eger bir pc sizdiniz ve firewall sizi rahatsiz ediyorsa burdaki komut zincirini kullanarak nasil disable veya enable veya port açilicagini göstericem :)

Xp için

Baslat > Çalistir > CMD

Dizin açildiktan sonra.

netsh firewall show config (burda firewall durumunu görebilirsiniz açikmi kapalimi hangi port açik hangi port kapali oldunu)

(copy con bat dosyasi olusturma kodudur. :) istersenizde manuel olarakta girebilirsiniz)

Firewall Aktiflestirmek için

Copy con aktif.bat

netsh firewall set opmode enable

CTRL + Z Enter

Sonra

aktif.bat diyerek olusturdumuz kodu aktiflestirebilirsiniz.

 

Firewall pasiflestirmek için ise

copy con pasif.bat

netsh firewall set opmode disable

CTRL + Z Enter

pasif.bat enter :)

POrt açmak için ise :)

Copy con portacma.bat

netsh firewall add portopening TCP 80 Webserver

netsh firewall add portopening TCP 21 FTPserver

CTRL +Z enter

portacma.bat kullanarak :) açabilirsiniz

Xp de son kisima :) Port silmeye

Copy con portsilme.bat

netsh firewall delete portopening TCP 80

netsh firewall delete portopening TCP 21

CTRL + Z Enter

Portsilme.bat enter :)

Vista , Windows7 için :)

öncelikle CMD sag tikliyip yönetici olarak baslatmalisiniz aksi taktirde girilen kodlarin hiç biri ise yaramicaktir.

Firewall aktiflestirme

Copy con aktif.bat

netsh advfirewall set currentprofile state on

CTRL + Z enter

Aktif.bat enter :)

Firewall Pasiflestirme

Copy con pasif.bat

netsh advfirewall set currentprofile state off

CTRL + Z Enter

Pasif.bat enter:)

Port açma

copy con portacma.bat

netsh advfirewall firewall add rule name=”WebServer” dir=in action=allow protocol=TCP localport=80

netsh advfirewall firewall add rule name=”FTPServer” dir=in action=allow protocol=TCP localport=21

CTRL + Z Enter

Portacma.bat enter

Port silme

Copy con portsilme.bat

netsh advfirewall firewall delete rule name=all protocol=tcp localport=80

netsh advfirewall firewall delete rule name=all protocol=tcp localport=21

CTRL + Z

Portsilme.bat enter

 

ELIMDEN GELDIGI KADAR YARDIMCI OLMAYA ÇALISTIM EGER BIR NEVZE YARDIMIMIM DOKUNMUSSA NE MUTLU BANA HERKEZE TESEKKÜRLER SELAM VE DUA

   
   
Cyber-Warrior TIM All Legal and illegal Rights Reserved.\CWDoktoray 2001©