Manajemen Firewall Windows - netsh

  • Manajemen Firewall Windows - netsh

Manajemen Firewall Windows - netsh

Alat Manajemen

netsh advfirewall

# Ekspor aturan firewall
netsh advfirewall export advfirewallpolicy.wfw

# Impor aturan firewall
netsh advfirewall import advfirewallpolicy.wfw

# Lihat status firewall
netsh advfirewall show allprofiles state

# Lihat aturan default firewall
netsh advfirewall show allprofiles firewallpolicy
# netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound
# netsh advfirewall set allprofiles firewallpolicy blockinbound,blockoutbound

# Lihat pengaturan firewall
netsh advfirewall show allprofiles settings

# Aktifkan firewall
netsh advfirewall set allprofiles state on

# Nonaktifkan firewall
netsh advfirewall set allprofiles state off

# Lihat aturan firewall
netsh advfirewall firewall show rule name=all

# Lihat status firewall
netsh advfirewall monitor show firewall

netsh firewall(deprecated)

# Lihat status firewall
netsh firewall show state

netsh mbn(Mobile Broadband network)

netsh wfp

# Lihat status firewall
netsh wfp show state

# Lihat aturan firewall
netsh wfp show filters