Gestione Firewall Windows - netsh

  • Gestione Firewall Windows - netsh

Gestione Firewall Windows - netsh

Strumenti di gestione

netsh advfirewall

# Esporta regole firewall
netsh advfirewall export advfirewallpolicy.wfw

# Importa regole firewall
netsh advfirewall import advfirewallpolicy.wfw

# Visualizza stato firewall
netsh advfirewall show allprofiles state

# Visualizza regole predefinite firewall
netsh advfirewall show allprofiles firewallpolicy
# netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound
# netsh advfirewall set allprofiles firewallpolicy blockinbound,blockoutbound

# Visualizza impostazioni firewall
netsh advfirewall show allprofiles settings

# Abilita firewall
netsh advfirewall set allprofiles state on

# Disabilita firewall
netsh advfirewall set allprofiles state off

# Visualizza regole firewall
netsh advfirewall firewall show rule name=all

# Visualizza stato firewall
netsh advfirewall monitor show firewall

netsh firewall(deprecated)

# Visualizza stato firewall
netsh firewall show state

netsh mbn(Rete banda larga mobile)

netsh wfp

# Visualizza stato firewall
netsh wfp show state

# Visualizza regole firewall
netsh wfp show filters